CiviCRM Community > Developer Discussion
Disable Drupal username
johnd:
We are looking for advice on how to turn off the 'username' field for Drupal account registration process for front end and back end of CiviCRM.
This is the same question as asked here in 2008 but we wonder if the answer is any different now: http://forum.civicrm.org/index.php?topic=5826.0
It looks like a module achieves the aim in Drupal but not necessarily in CiviCRM: http://drupal.org/project/email_registration
We would be grateful if someone can share any experience with disabling the Drupal username field in CiviCRM.
emilyf:
as stated in the 2008 post you reference
--- Quote ---As far as I know, civicrm does not create drupal user during registration process. User is created by drupal and then we use created userid to link it with CiviCRM.
--- End quote ---
this is still the case -- usernames are created in drupal and then linked by userid with civi. If you want to hide the username then yes, the email_registration module will do that for you. civi will link to the userid as always on the civi record.
Hershel:
--- Quote from: johnd on May 30, 2012, 07:22:48 pm ---It looks like a module achieves the aim in Drupal but not necessarily in CiviCRM: http://drupal.org/project/email_registration
--- End quote ---
As noted, the username is purely a Drupal issue, not a CiviCRM one. That module should take care of it for you.
johnd:
--- Quote from: Hershel on May 31, 2012, 12:05:18 pm ---As noted, the username is purely a Drupal issue, not a CiviCRM one. That module should take care of it for you.
--- End quote ---
Username must also be a CiviCRM issue.
I installed the module but CiviCRM still requires a username in front end and back end user registration forms.
(Email, Username, Password)
The Email Registration module only changed the Drupal user login form.
(Email, Password)
We're going to leave this issue and come back to it when we have a bit more time.
emilyf:
when you add a contact in civi manually, it does not require first/last name, you'll see it can just do email address.
you just need to turn off the required profile fields associated with account registration.
administer > customize data & screens > profiles
name and address, uncheck required for first and last name. then users are not required to submit any additional info on account registration.
Navigation
[0] Message Index
[#] Next page
Go to full version