I'm trying to override the error message that shows when a user inserts a wrong password/ wrong email.
You did not sign in correctly or your account is temporarily disabled.
Error Message screenshot
Where and how i can change it, thank you.
2 Answers 2
You need to create a CSV file at
app/design/frontend/{Vendorname}/{themename}/i18n/en_US.csv
and change the message as per you want.
"You did not sign in correctly or your account is temporarily disabled.","Your custom message."
Let me know if you need further assistance.
-
I successfully changed other phrases, that were not errors with this method, but i cannot change this error.BrandenB171– BrandenB1712020年04月14日 16:26:06 +00:00Commented Apr 14, 2020 at 16:26
-
It worked! ThanksAhsan Horani– Ahsan Horani2022年05月11日 09:28:49 +00:00Commented May 11, 2022 at 9:28
STEP : 1 app/design/frontend/{Vendorname}/{themename}/i18n/en_US.csv
STEP : 3 Edit ev_US.csv
STEP : 2 "You did not sign in correctly or your account is temporarily disabled.","custom message."