Skip to content

Commit

Permalink
Fix: consistent login messaging (SWLL032 Username enumeration)
Browse files Browse the repository at this point in the history
Merge branch 'fix/consistent-login-messaging' into 'master'

See merge request schema/origin-storefront!213
  • Loading branch information
Cristian Stănescu committed Feb 22, 2023
2 parents faa480d + 55f59af commit fe350b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@
"title": "Payment methods"
},
"login": {
"error": "Your email or password was entered incorrectly.",
"error": "Your email or password is incorrect, please try again.",
"success": "You’ve succesfully logged in.",
"button": {
"loading_label": "Logging in",
Expand Down Expand Up @@ -426,7 +426,7 @@
},
"create_account": {
"error": "There was an error creating your account. Please try again later.",
"invalid_email": "Email address is invalid or already in use. Please try again.",
"invalid_email": "There was a problem creating your account. Please check your email and password.",
"success": "You’ve succesfully created an account.",
"log_in": "Log in",
"button": {
Expand Down
4 changes: 2 additions & 2 deletions config/editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2542,7 +2542,7 @@
{
"id": "lang.account.create_account.invalid_email",
"label": "Account already exists or email invalid message",
"default": "Email address is invalid or already in use. Please try again.",
"default": "There was a problem creating your account. Please check your email and password.",
"type": "long_text",
"localized": true
},
Expand Down Expand Up @@ -2839,7 +2839,7 @@
{
"id": "lang.account.login.error",
"label": "Login error message",
"default": "Your email or password was entered incorrectly.",
"default": "Your email or password is incorrect, please try again.",
"type": "long_text",
"localized": true
},
Expand Down

0 comments on commit fe350b3

Please sign in to comment.