Right now I have a custom “General Error Message” (#generalErrMsg) set however when someone tries to login to my page they get error messages as follows:
- if email does not match a registered email- “This email doesn’t match any account. Try again.”
- if password is incorrect- “Wrong email or password”
I want the form to provide the same error message (“Contact Us at 555-555-5555”) regardless of the error. I would be fine with achieving this by either directing the form to respond with #generalErrMsg regardless of the issue, OR setting the text for incorrect email and incorrect password error messages as my custom error message. How can I do this?
tl;dr: how do I either:
- set the login form so that the general error message appears regardless of what is incorrect (either username or password)
- edit the error messages specific to incorrect email addresses or passwords to be my custom error message?
Thank you!