From 55f59afc3e378e912d2f7dd7fc834e94fc48354a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20St=C4=83nescu?= Date: Wed, 22 Feb 2023 15:42:36 +0000 Subject: [PATCH] Fix: consistent login messaging (SWLL032 Username enumeration) --- config/defaults.json | 4 ++-- config/editor.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/defaults.json b/config/defaults.json index 46c3d37..5de23e4 100644 --- a/config/defaults.json +++ b/config/defaults.json @@ -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", @@ -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": { diff --git a/config/editor.json b/config/editor.json index 6ba3c19..4847287 100644 --- a/config/editor.json +++ b/config/editor.json @@ -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 }, @@ -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 },