Email Registration

Module Drupal Illustration Voir sur Drupal.org
Nb téléchargements : 22739

Components

  • Code
  • Documentation
  • Miscellaneous
  • User interface

Licence

https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

permet aux utilisateur de créer un compte avec une adresse mail

Release

Status : Published
Projects : Modules
Maintenance status : Actively maintained
Development status : Maintenance fixes only
Project categories : Access control
Supported Branches : 2.0., 8.x-1.
shield Stable releases for this project are covered by the security advisory policy.


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.

  1. 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.
  2. 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.
  3. 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:

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