Error message: Login by username has been disabled. Use your email address instead could be optional.

Created on 24 January 2025, 3 months ago

Problem/Motivation

Sometimes the error message, “Login by username has been disabled. Use your email address instead,” isn’t required. Users don’t need to be informed that username-based login was ever an option in the first place.

Steps to reproduce

Activate the option: Log in by email address only
try to log in with an invalid email.
An error message appears: Login by username has been disabled. Use your email address instead.

Proposed resolution

Add an optional text input field in MailLoginAdminSettingsForm where administrators can specify a custom message. If this field is left empty, the default message—“Login by username has been disabled. Use your email address instead.”—will not appear. The current message can be set as the default value, and if administrators wish to remove it, they can simply clear the field.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇧🇷Brazil joaopauloc.dev

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024