Better/more useful error message when the user mistypes their password 
on login.

        Patch by denise. 

diffs (24 lines):

diff -r 5c13ca636146 -r b2f4882e5afe bin/upgrading/en.dat
--- a/bin/upgrading/en.dat      Fri Jun 12 21:54:27 2009 +0000
+++ b/bin/upgrading/en.dat      Fri Jun 12 21:59:40 2009 +0000
@@ -1252,7 +1252,7 @@ entryform.xpost=Crosspost this entry
 
 entryform.xpost.manage=Manage accounts
 
-error.badpassword=Incorrect Password.
+error.badpassword2=You typed the wrong password. If you make too many wrong 
login attempts in a row, your account access will be temporarily blocked, so 
you may want to <a [[aopts]]>reset your password</a> if you aren't sure what it 
is.
 
 error.code.comm_not_comm=Account is not a community
 
diff -r 5c13ca636146 -r b2f4882e5afe htdocs/login.bml
--- a/htdocs/login.bml  Fri Jun 12 21:54:27 2009 +0000
+++ b/htdocs/login.bml  Fri Jun 12 21:59:40 2009 +0000
@@ -324,7 +324,7 @@
                 if ($chal_opts->{'expired'}) {
                     push @errors, [ expired_challenge => 
$ML{'error.expiredchal'}];
                 } else {
-                    push @errors, [ bad_password => $ML{'error.badpassword'} ];
+                    push @errors, [ bad_password => BML::ml( 
'error.badpassword2', { aopts => "href='$LJ::SITEROOT/lostinfo.bml'" } ) ];
                 }
             }
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to