includes/clientside/static/login.js
changeset 1052 374d08d176cb
parent 1026 f0431eb8161e
child 1065 18d013f98fd0
--- a/includes/clientside/static/login.js	Sat Jul 11 20:22:38 2009 -0400
+++ b/includes/clientside/static/login.js	Sat Jul 11 20:24:19 2009 -0400
@@ -1036,7 +1036,7 @@
       }
     case 'invalid_credentials':
       var base = $lang.get('user_err_invalid_credentials');
-      if ( response.respawn_info.locked_out )
+      if ( response.respawn_info.locked_out.locked_out )
       {
         base += ' ';
         var captcha_blurb = '';
@@ -1048,7 +1048,7 @@
           case 'lockout':
             break;
           default:
-            base += 'WTF? Shouldn\'t be locked out with lockout policy set to disable.';
+            base += 'WTF? Shouldn\'t be locked out with lockout policy set to disable. ';
             break;
         }
         base += $lang.get('user_err_locked_out', {