Fossil SCM
auto-captcha should default to "off".
Commit
ac103f64c37a0fcc36835af08d4c7b4fd2d50502
Parent
781e5bed896b2b9…
1 file changed
+1
-1
+1
-1
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -625,11 +625,11 @@ | ||
| 625 | 625 | @ <a href="%s(g.zTop)/register?g=%T(P("G"))">create one</a>. |
| 626 | 626 | } |
| 627 | 627 | if( zAnonPw ){ |
| 628 | 628 | unsigned int uSeed = captcha_seed(); |
| 629 | 629 | char const *zDecoded = captcha_decode(uSeed); |
| 630 | - int bAutoCaptcha = db_get_boolean("auto-captcha", 1); | |
| 630 | + int bAutoCaptcha = db_get_boolean("auto-captcha", 0); | |
| 631 | 631 | char *zCaptcha = captcha_render(zDecoded); |
| 632 | 632 | |
| 633 | 633 | @ <p><input type="hidden" name="cs" value="%u(uSeed)" /> |
| 634 | 634 | @ Visitors may enter <b>anonymous</b> as the user-ID with |
| 635 | 635 | @ the 8-character hexadecimal password shown below:</p> |
| 636 | 636 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -625,11 +625,11 @@ | |
| 625 | @ <a href="%s(g.zTop)/register?g=%T(P("G"))">create one</a>. |
| 626 | } |
| 627 | if( zAnonPw ){ |
| 628 | unsigned int uSeed = captcha_seed(); |
| 629 | char const *zDecoded = captcha_decode(uSeed); |
| 630 | int bAutoCaptcha = db_get_boolean("auto-captcha", 1); |
| 631 | char *zCaptcha = captcha_render(zDecoded); |
| 632 | |
| 633 | @ <p><input type="hidden" name="cs" value="%u(uSeed)" /> |
| 634 | @ Visitors may enter <b>anonymous</b> as the user-ID with |
| 635 | @ the 8-character hexadecimal password shown below:</p> |
| 636 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -625,11 +625,11 @@ | |
| 625 | @ <a href="%s(g.zTop)/register?g=%T(P("G"))">create one</a>. |
| 626 | } |
| 627 | if( zAnonPw ){ |
| 628 | unsigned int uSeed = captcha_seed(); |
| 629 | char const *zDecoded = captcha_decode(uSeed); |
| 630 | int bAutoCaptcha = db_get_boolean("auto-captcha", 0); |
| 631 | char *zCaptcha = captcha_render(zDecoded); |
| 632 | |
| 633 | @ <p><input type="hidden" name="cs" value="%u(uSeed)" /> |
| 634 | @ Visitors may enter <b>anonymous</b> as the user-ID with |
| 635 | @ the 8-character hexadecimal password shown below:</p> |
| 636 |