Fossil

Check-in [bb8193cf]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:The previous "anon-captcha" check-in missed one spot. This check-in attempts to correct the problem.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bb8193cfd0770a1ec3cc07eacb86653d47f3bbaa
User & Date: drh 2009-12-18 22:08:58
Context
2009-12-18
22:16
Minor cleanup to the implementation of command-line "timeline". check-in: 02920e92 user: drh tags: trunk
22:08
The previous "anon-captcha" check-in missed one spot. This check-in attempts to correct the problem. check-in: bb8193cf user: drh tags: trunk
22:01
Change the name of the "anon-login-enable-captcha-filler" setting to "auto-captcha". Move the GUI setting of this setting over to the "Setup/Behavior" page. check-in: fe019f94 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/setup.c.

470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
  @    <input type="checkbox" name="at"%s(oat)/>%s(B('t'))Tkt Report<br>
  @    <input type="checkbox" name="az"%s(oaz)/>%s(B('z'))Download Zip
  @   </td>
  @ </tr>
  @ <tr>
  @   <td align="right">Password:</td>
  if( strcmp(zLogin, "anonymous")==0 ){
    int enabled = db_get_boolean( "anon-login-enable-captcha-filler", 0 );
    char const * checked = enabled ? "checked=\"checked\"" : "";
    /* User the password for "anonymous" as cleartext */
    @   <td><input type="text" name="pw" value="%h(zPw)"/>
    @   <br/>Enable password-filler button for anonymous login? <input type="checkbox" name="anonymousEnableAutofill" %s(checked)/><br/>
    @   </td>
  }else if( zPw[0] ){
    /* Obscure the password for all other users */
    @   <td><input type="password" name="pw" value="**********"></td>
  }else{
    /* Show an empty password as an empty input field */
    @   <td><input type="password" name="pw" value=""></td>
  }







<
<
<
|
<
<







470
471
472
473
474
475
476



477


478
479
480
481
482
483
484
  @    <input type="checkbox" name="at"%s(oat)/>%s(B('t'))Tkt Report<br>
  @    <input type="checkbox" name="az"%s(oaz)/>%s(B('z'))Download Zip
  @   </td>
  @ </tr>
  @ <tr>
  @   <td align="right">Password:</td>
  if( strcmp(zLogin, "anonymous")==0 ){



    @   <td><input type="text" name="pw" value="%h(zPw)"></td>


  }else if( zPw[0] ){
    /* Obscure the password for all other users */
    @   <td><input type="password" name="pw" value="**********"></td>
  }else{
    /* Show an empty password as an empty input field */
    @   <td><input type="password" name="pw" value=""></td>
  }