Allow for email login

Created on 25 June 2025, 11 days ago

Problem/Motivation

Some contrib modules, such as Email Registration β†’ , replace the name text field in the login form with an email field. This module should be prepared to look up the user account by its email rather than by its username when that is the case.

Steps to reproduce

  1. enable and configure Email Registration and this module
  2. enable Coming Soon mode
  3. log out and attempt to log in as an administrator using the account's email address

Proposed resolution

Check the type of the field in the $form array, and if it's an email field, look up the user by mail instead of name.

Remaining tasks

make a MR

✨ Feature request
Status

Active

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States BenStallings

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