Make the message '%name is not recognized as a username or an email address.' configurable

Created on 3 March 2021, almost 4 years ago
Updated 2 August 2024, 4 months ago

Problem/Motivation

Recently I've got a task with the requirement - "Remove the message %name is not recognized as a username or an email address" because it causes security problems."
When I started to work on it I've discovered that this message is directly hardcoded in the core's code.
(@see core/modules/user/src/Form/UserPasswordForm.php)
I think it would be great to have the opportunity to change/hide this text without the developer's intervention.

Proposed resolution

The idea is to move this text from code to some configuration page/area.

Release notes snippet

Feature request
Status

Active

Version

11.0 🔥

Component
User system 

Last updated about 19 hours ago

Created by

🇺🇦Ukraine gena.io

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