This module allows administrators to configure custom fields, such as a mobile number, that users can use for logging in instead of their username or email. It also allows administrators to control whether traditional login methods are still enabled.
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.
Ask your assistant about Field Based Login
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- user Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-2.3 | Stable | 9–11 | Nov 20, 2024 |