Differences From:
File
src/login.c
part of check-in
[b4a29fac93]
- Add an ascii-art captcha for anonymous login.
by
drh on
2009-08-10 02:29:14.
[view]
To:
File
src/login.c
part of check-in
[c15ec20d5a]
- Rephrasing the text of the Login page.
by
drh on
2009-08-12 17:35:02.
[view]
@@ -229,14 +229,14 @@
@ <td><input type="submit" name="in" value="Login"></td>
@ </tr>
@ </table>
if( g.zLogin==0 ){
- @ <p>To login
+ @ <p>Enter
}else{
@ <p>You are currently logged in as <b>%h(g.zLogin)</b></p>
- @ <p>To change your login to a different user
- }
- @ enter the user-id and password at the left and press the
+ @ <p>To change your login to a different user, enter
+ }
+ @ your user-id and password at the left and press the
@ "Login" button. Your user name will be stored in a browser cookie.
@ You must configure your web browser to accept cookies in order for
@ the login to take.</p>
if( zAnonPw ){
@@ -243,10 +243,10 @@
unsigned int uSeed = captcha_seed();
char *zCaptcha = captcha_render(captcha_decode(uSeed));
@ <input type="hidden" name="cs" value="%u(uSeed)">
- @ <p>To login as user <b>anonymous</b> use the following
- @ 8-character hexadecimal password:</p>
+ @ <p>Visitors may enter <b>anonymous</b> as the user-ID with
+ @ the 8-character hexadecimal password shown below:</p>
@ <center><table border="1" cellpadding="10"><tr><td><pre>
@ %s(zCaptcha)
@ </pre></td></tr></table></center>
free(zCaptcha);