Amendment to the password recovery form error message

Created on 24 July 2017, over 7 years ago
Updated 10 October 2023, over 1 year ago

In the ../core/modules/user/src/Form/UserPasswordForm.php Form we have the following error message:
%name is not recognized as a username or an email address.

As the module allows only the email to be used as login, we need to alter the message accordingly as:

%name is not recognized as a valid email address.

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom hugronaphor

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024