(fix) right localized string + one for account locked

pull/91/head
Ludovic Marcotte 2015-04-07 09:01:33 -04:00 committed by Francis Lachapelle
parent 1fe5e39254
commit d21715d8f1
1 changed files with 4 additions and 1 deletions

View File

@ -154,8 +154,11 @@
if (perr == passwordPolicyConfig.PolicyNoError) {
msg = l('Wrong username or password.');
}
else if (perr == passwordPolicyConfig.PolicyAccountLocked) {
msg = l('Your account was locked due to too many failed attempts.');
}
else {
msg = l('Login failed due to unhandled error case: ' + perr);
msg = l('Login failed due to unhandled error case: ') + perr;
}
}
else {