Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

User Login ID

No security coverage
View on drupal.org

This module allows users to log in using a different identifier than their username. It provides an alternative field for authentication, separating the login credential from the display name to improve user experience and administrative clarity.

Out of the box, Drupal uses the username as login credential and display name. Without a module implementing hook_user_format_name_alter() to alter the displayed name, the value returned from User::getDisplayName() is the same value returned from User::getAccountName().
There is code in Drupal core (and probably in third-party modules) that still call User::getAccountName() (which should be used to show the username to administrators and the user who owns the account) instead of User::getDisplayName(). (See #2629286: Use getDisplayName() for user names consistently for the Drupal core.) This means that the username is still shown on pages where the display name should instead be shown.

This module defines a new base field for the User entity and uses its value when authenticating users.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Mar 2026
Latest release
2 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha2 Pre-release 11 Jun 19, 2026
1.0.0-alpha1 Pre-release 11 Mar 12, 2026
1.0.x-dev Dev 11 Mar 12, 2026