Fossil SCM
The previous "anon-captcha" check-in missed one spot. This check-in attempts to correct the problem.
Commit
bb8193cfd0770a1ec3cc07eacb86653d47f3bbaa
Parent
fe019f946b5853d…
1 file changed
+1
-6
+1
-6
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -472,16 +472,11 @@ | ||
| 472 | 472 | @ </td> |
| 473 | 473 | @ </tr> |
| 474 | 474 | @ <tr> |
| 475 | 475 | @ <td align="right">Password:</td> |
| 476 | 476 | if( strcmp(zLogin, "anonymous")==0 ){ |
| 477 | - int enabled = db_get_boolean( "anon-login-enable-captcha-filler", 0 ); | |
| 478 | - char const * checked = enabled ? "checked=\"checked\"" : ""; | |
| 479 | - /* User the password for "anonymous" as cleartext */ | |
| 480 | - @ <td><input type="text" name="pw" value="%h(zPw)"/> | |
| 481 | - @ <br/>Enable password-filler button for anonymous login? <input type="checkbox" name="anonymousEnableAutofill" %s(checked)/><br/> | |
| 482 | - @ </td> | |
| 477 | + @ <td><input type="text" name="pw" value="%h(zPw)"></td> | |
| 483 | 478 | }else if( zPw[0] ){ |
| 484 | 479 | /* Obscure the password for all other users */ |
| 485 | 480 | @ <td><input type="password" name="pw" value="**********"></td> |
| 486 | 481 | }else{ |
| 487 | 482 | /* Show an empty password as an empty input field */ |
| 488 | 483 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -472,16 +472,11 @@ | |
| 472 | @ </td> |
| 473 | @ </tr> |
| 474 | @ <tr> |
| 475 | @ <td align="right">Password:</td> |
| 476 | if( strcmp(zLogin, "anonymous")==0 ){ |
| 477 | int enabled = db_get_boolean( "anon-login-enable-captcha-filler", 0 ); |
| 478 | char const * checked = enabled ? "checked=\"checked\"" : ""; |
| 479 | /* User the password for "anonymous" as cleartext */ |
| 480 | @ <td><input type="text" name="pw" value="%h(zPw)"/> |
| 481 | @ <br/>Enable password-filler button for anonymous login? <input type="checkbox" name="anonymousEnableAutofill" %s(checked)/><br/> |
| 482 | @ </td> |
| 483 | }else if( zPw[0] ){ |
| 484 | /* Obscure the password for all other users */ |
| 485 | @ <td><input type="password" name="pw" value="**********"></td> |
| 486 | }else{ |
| 487 | /* Show an empty password as an empty input field */ |
| 488 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -472,16 +472,11 @@ | |
| 472 | @ </td> |
| 473 | @ </tr> |
| 474 | @ <tr> |
| 475 | @ <td align="right">Password:</td> |
| 476 | if( strcmp(zLogin, "anonymous")==0 ){ |
| 477 | @ <td><input type="text" name="pw" value="%h(zPw)"></td> |
| 478 | }else if( zPw[0] ){ |
| 479 | /* Obscure the password for all other users */ |
| 480 | @ <td><input type="password" name="pw" value="**********"></td> |
| 481 | }else{ |
| 482 | /* Show an empty password as an empty input field */ |
| 483 |