Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

The Username module provides a flexible solution for user authentication by allowing various input methods for usernames, including email, phone number, and custom fields. This module is ideal for sites that require diverse authentication methods, making user registration and login more intuitive and customizable.

Features

The Username module extends the basic Drupal user authentication system by enabling users to log in using alternative identifiers like email addresses or phone numbers. Unique features of this module include:

  • Multiple Username Modes: Users can log in using different identifiers such as email, phone number, or custom fields.
  • Custom Display Name Settings: Configure how usernames are displayed across the site.
  • Phone Number Integration: Complete integration with phone numbers, including country code handling and validation.
  • Validation and Restrictions: Set up restrictions and validations for usernames to ensure consistency and security.
  • APIs and Hooks: Provides developers with hooks and APIs to extend and customize the module's functionality.

This module is useful for websites that need to offer flexible login options, catering to a broader user base and enhancing the user experience by simplifying the login and registration processes.

Post-Installation

After installing the Username module, you should navigate to Configuration → People → Username settings to configure the desired username modes. Here, you can select the identifiers you wish to enable (such as phone number or email) and customize display name settings. Additionally, if you use phone numbers as usernames, navigate to Configuration → People → Phone settings to configure country codes, preferred countries, and other phone-related settings.

Additional Requirements

This module requires the following additional modules to work:

  • Phonenumber: Required for handling phone number input and validation.

While the Username module is fully functional on its own, the following modules can enhance its functionality:

  • Token: Allows for more advanced customization of display names and other user information.
  • Phone Number Field: Improves phone number handling and validation across the site.

Similar Projects

There are other modules that provide similar functionalities, such as:

  • LoginToboggan: Allows users to log in using their email address instead of a username. However, it does not offer the same flexibility in handling multiple identifiers like the Username module.
  • Email Registration: Enables users to register using their email address, but lacks the comprehensive phone number integration offered by the Username module.

The Username module is differentiated by its ability to handle multiple identifiers simultaneously, offering a more comprehensive solution for user authentication.

Support

If you need a new feature or encounter any issues, please let me know. You can report it in the Username Issues section.

Username 1.0.0 has been released! Explore the new features now!

The first major release of Username is here, offering enhanced functionality and a modern interface. Dive into the new features, report any issues, and contribute to future updates. Be a part of the growing community!

☉ Issues ☰ File an issue

You may continue to put additional information below here if there are other things you think people need to know about your module!

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
4
Tracked since
Dec 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha3 Pre-release Jul 12, 2024
1.0.0-alpha2 Pre-release Jul 10, 2024
1.0.0-alpha1 Pre-release Jul 9, 2024
1.0.x-dev Dev Dec 18, 2023