Voir sur Drupal.org
Components
- Code
- Documentation
- Miscellaneous
- User interface
Licence
https://www.gnu.org/licenses/old-licenses/gpl-2.0.htmlpermet aux utilisateur de créer un compte avec une adresse mail
Release
RC releases are not covered by Drupal security advisories.
Release type : Bug fixes
Covered by Drupal's security advisory policy
Release type : Bug fixes Release type : New features
Description
Allow users to register using an email address. Users can then log-in using their email address and password for authentication.
This module aims to solve some usability issues in managing accounts on a Drupal site.
- Many sites need users to provide an email address but do not need a "username." This module lets users register and log in using only their email address and not worry about a username.
- In general, the fewer the fields on a form, the easier it is for people to finish the task. This module lets users register merely by providing an email address.
- This module can be configured to allow a username as well for sites that need it. In this case, users get the benefit of being able to login with username or email, which is helpful in case a user tries to login with their email (they are likely to remember their email even if they forgot their username).
By default, a username is generated and assigned based on the user name part of the email address and their user ID. Sites that want to create usernames in their own way can do so by implementing hook_email_registration_name_alter.
Email Registration Username
The "Email Registration Username" submodule will use your email address as your username on registration and sync both fields on updating the user (if they were synced before, making sure users with the right permission can still set a different username if needed).
Note: usernames can easily be leaked! Therefore, if you are using the submodule, your users email addresses might be leaked!
There is an obfuscation logic in place, which obfuscates the username (aka mail address) for users without the right permission, but this only obfuscates every call of "$account->getDisplayName()". The username might still be passed raw and could be leaked.
Installation Instructions:
Enable the module as you normally would.
You will probably want to change the welcome e-mail (Administer -> User Management -> User Settings) and replace instances of the token !username with !mailto
The automatically generated username is still displayed name for posts, comments, etc. You can allow your users to change their username by going to:
(Administer -> User Management -> Access Control) ... [X] change own username
This privilege allows a user to change their username in "My Account".
Related modules:
- Email Change confirmation
- passwordless allows logging in without using a password.
- Real Name allows the administrator to choose fields from the user profile that will be used to show instead of the username.
Alternative modules
- Mail Login provides a similar functionality to this module
Modules that may conflict with Email Registration:
Toutes les informations proviennent du site drupal.org