This module extends Drupal core user login. Using this module, an admin user is allowed to configure new user account fields, which can be used to login, instead of using username or email.

For example, you could set up a mobile number field. Each user should have a unique mobile number, and they can essentially use this number as their username for logging in.

Normal methods for logging in can be allowed or not as well.

Requirements

Uses/extends the Drupal core user module.

Module provides config translation if enabled, but not required.

Useful if you want to translate the custom label and description for the user login form.

Install

Install module like any other contributed module.

It is recommended to install via composer. See below for command:

composer require drupal/fbl
drush en fbl

Configuration

Goto "/admin/config/people/fbl" and configure the settings as required.

Notes

The development and focus will be strictly on Drupal 8+. Feel free to keep using current release for Drupal 7, but no new development or fixes will be done at this time.

Supporting organizations: 

Project information

Releases