Allow Email/Username Login & Registration
In Varbase, by default. Users can log in to the site using either their username or Email address, thanks to the Email Registration module.
How It Works
Login and Registration
The module helps in managing users' sign-up process and forgotten passwords retrieval, users can signup using only their Email address, the username will be the username part of the Email, ex: firstlast@vardot.com will have the username “firstlast”.
Reset Password
Password retrieval will also require the user to fill in their Email address rather than the username which will have more sense since the password retrieval link will be sent to the Email address.
Enabling Email-Only Login
Email-only login means that users will not be allowed to login using usernames anymore. To configure that follow the steps below:
Navigate to accounts setting page, Administration \ Configuration \ People \ Account settings
Check under the Registration and cancellation section
Deselect the Allow login with email address or username check box
Updating Welcome Emails
Welcome Emails might need updates regarding the needed token or for updating the template itself.
Navigate to Administration \ Configuration \ People \ Account settings
Scroll to the Emails section
Check the template - the image below shows an example of using the token [user:mail] instead of the default [user:display-name] to show the Email address instead of the username.
Enabling Username-only Login
To have username only login, the Email registration module should be uninstalled from the site.
Navigate to Extend \ Uninstall module
Search for the module name
Uninstall it
Last updated