(fix) right localized string + one for account locked

This commit is contained in:
Ludovic Marcotte
2015-04-07 09:01:33 -04:00
committed by Francis Lachapelle
parent 1fe5e39254
commit d21715d8f1
@@ -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 {