Drupal Email registration and Email as username

WE HAVE MOVED!

Please visit our new Drupal Website at https://www.xenyo.com.

/*
* Enable email_registration.module
* Implements hook_email_registration_name()
*/
function MY_MODULE_email_registration_name($edit, $account) {
  return $account->mail;
}
Help Share this Article