Fossil SCM

The previous "anon-captcha" check-in missed one spot. This check-in attempts to correct the problem.

drh 2009-12-18 22:08 trunk
Commit bb8193cfd0770a1ec3cc07eacb86653d47f3bbaa
1 file changed +1 -6
+1 -6
--- src/setup.c
+++ src/setup.c
@@ -472,16 +472,11 @@
472472
@ </td>
473473
@ </tr>
474474
@ <tr>
475475
@ <td align="right">Password:</td>
476476
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>
483478
}else if( zPw[0] ){
484479
/* Obscure the password for all other users */
485480
@ <td><input type="password" name="pw" value="**********"></td>
486481
}else{
487482
/* Show an empty password as an empty input field */
488483
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button