CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • email should serve as a username
Pages: [1]

Author Topic: email should serve as a username  (Read 537 times)

Roi

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.5.6
  • CMS version: Drupal7.34
  • MySQL version: 5.5
  • PHP version: 5.4.34
email should serve as a username
February 17, 2015, 02:07:26 am
Hi, I am using profiles for a registration form for one of my Individual-based contacts.
I want:
  • new users to have a valid email
  • new users to be registered as drupal users so their context serves other drupal modules
  • user's username should be the email address, as done in MANY sites today.
In the profile advanced settings I checked as follows
                               Drupal user account registration option? Account creation required
and the form asks for Username IN ADDITION to Email.

How do I make the form ask for Email only AND create a drupal user with this username?

thanks

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: email should serve as a username
February 17, 2015, 02:46:44 am
This is a question for a Drupal forum, not the CiviCRM forums as the requirements for creating a Drupal user account are determined by Drupal.

If you google "drupal account creation  email only no username" you should find some answers amongst the results.

BTW There are good reasons why the default account creation in Drupal requires a username as well as an email address.  For example in Drupal you can allow people to comment on posts. Allowing anonymous posts is open to abuse, but it is much safer for would-be posters to be identified by a username rather than their email address.

Another BTW. Be careful with bolding and capitals when you post topics.  For me at least, the formatting of "user's username should be the email address, as done in MANY sites today." implies you were thinking "and this software (and the people who make it) are so stupid for making people choose a username as well".  That might not have been the case, but it is open to that interpretation.
« Last Edit: February 17, 2015, 03:49:13 am by joanne »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • email should serve as a username

This forum was archived on 2017-11-26.