# HG changeset patch # User Dan # Date 1247358259 14400 # Node ID 374d08d176cbd38c7fad1defa0e0ed6fe76fd19d # Parent 78b41fb981400bf3e0c3c8f96192114a56b7a718 AJAX login: fixed lockout string being displayed where it shouldn't be diff -r 78b41fb98140 -r 374d08d176cb includes/clientside/static/login.js --- 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', {