changeset 1210 | ad49fa34ff3c |
parent 1176 | 5c98b9f181f0 |
child 1227 | bdac73ed481e |
--- a/includes/clientside/static/login.js Wed Jan 06 02:19:58 2010 -0500 +++ b/includes/clientside/static/login.js Wed Jan 06 02:20:53 2010 -0500 @@ -1038,7 +1038,7 @@ case 'login_failure': // Generic login user error. var error = '', x; - if ( (x = $lang.get(response.error)) != response.error ) + if ( (x = $lang.get(response.error)) != response.error || ! (/^[a-z0-9_]+/).test(response.error) ) error = x; else error = $lang.get('user_err_' + response.error);