Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2109: Display error message on too many failed logins #577

Merged
merged 3 commits into from Aug 10, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Next

Display error message when locked out

  • Loading branch information
Alberto Franco
Alberto Franco committed Jul 2, 2020
commit d9803ab9d52a33d4483a9afbc6c97d88c8fc523b
@@ -2499,5 +2499,8 @@
},
"too_many_password_resets_text": {
"message": "Too many password reset requests. Try again in one hour."
},
"too_many_failed_logins_text": {
"message": "Too many failed logins. Try again in one hour."
}
}
@@ -213,6 +213,9 @@ export default (state = initialState, action) => {
case '10110':
errorText = t('no_such_email_password_combo');
break;
case 'too_many_failed_logins':
errorText = t('too_many_failed_logins_text');
break;
default:
errorText = t('server_error_message');
}
ProTip! Use n and p to navigate between commits in a pull request.