Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows users to log in using their email address instead of a username. It offers options to enable or disable username logins and customize the labels and descriptions of the login form fields.

This module enables users to login by email address with the minimal configurations.
For configuring mail login go to "/admin/config/people/mail-login".
Available configurations:

  • Enable login by email address: This option enables login by email address.
  • Override login form: This option allows you to override the login form username title/description.
  • Login by email address only: This option disables login by username and forces login by email address only.
  • Override login form: This option allows you to override the login form username title/description.
  • Login form username/email address label: Override the username field title.
  • Login form username/email address description: Override the username field description.
  • Login form email address only label: Override the username field title.
  • Login form email address only description: Override the username field description.

 

 

 

8.x - Install with Composer

We recommend using Composer to download Mail Login module.

composer require 'drupal/mail_login:^4.2';

Installation

Install as usual, see Installing Drupal 8 Modules for further information.

4.2.x - Drupal >=10.3

This release is compatible with Drupal >=10.3

AuthDecorator now implements both the old UserAuthInterface and the new UserAuthenticationInterface for Drupal core >=10.3 compatibility

3.2.x - Drupal 9.1 and Drupal <10.3

This release is compatible with Drupal >=9.1 and Drupal <10.3

The flood core service has changed after Drupal core 9.1 into user.flood_control. If you are using Drupal 8 use 8.x-2.x dev branch or version >= 8.x-2.10.

8.x-2.x - Drupal 8
UNSUPPORTED

This release is compatible with Drupal 8

Uses flood core service for Drupal 8.

8.x-1.x
UNSUPPORTED

Uses only the login form

8.x-1.x This release only works for the form level, upgrade to 8.x-2.x or 3.0.x to use "user.auth" service which works with everything that uses the authentication service.

Alternative modules

  • Email Registration provides a similar functionality to this module and is an alternative module.

Support

Please post bug reports, feature requests and support requests to the Mail Login module issue queue. In doing so, complying with the Issue creation guidelines will speed up things for all parties involved.

Credits

Credit goes to all the maintainers for building, maintaining and supporting the module.

Activity

Total releases
7
First release
Jul 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 7
Maintenance
Dormant

Release Timeline

Releases

Version Type Release date
4.2.2 Stable Jul 12, 2025
3.2.1 Stable Jul 12, 2025
4.2.1 Stable Jul 12, 2025
4.2.0 Stable Jul 9, 2025
3.2.0 Stable Jul 9, 2025
4.2.x-dev Dev Jul 9, 2025
3.2.x-dev Dev Jul 9, 2025