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

Show more appropriate error message on Forgot Password screen... #440

Merged
Merged
Changes from all commits
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Show more appropriate error message on Forgot Password screen when em…

…ail is not in our system
  • Loading branch information
wlycdgr committed Aug 22, 2019
commit f1f392d10dbf274f08ffb1db50ad6f8d79f6e125
@@ -32,6 +32,9 @@
"banner_no_such_account_message": {
"message": "Looks like we can't find this email and password combo. Give it another shot."
},
"banner_email_not_in_system_message": {
"message": "Sorry, that email isn't in our system."
},
"blacklist_error_duplicate_url": {
"message": "This site is already restricted."
},
@@ -180,7 +180,7 @@ export default (state = initialState, action) => {
switch (err.code) {
case '10050':
case '10110':
errorText = t('banner_no_such_account_message');
errorText = t('banner_email_not_in_system_message');
break;
default:
errorText = t('server_error_message');
ProTip! Use n and p to navigate between commits in a pull request.