Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi.
Is is possible to auto-generate usernames to be exactly as the e-mail addresses?
Thank you
Comments
Comment #1
halmsx CreditAttribution: halmsx commentedwhat are you trying to achieve with this?
Comment #2
mrbrookman CreditAttribution: mrbrookman commentedYou can sync your username with the mail-address using the module rules.
Comment #3
BrianLP CreditAttribution: BrianLP commentedCould someone point me to more info on that? I couldn't find out how this can be done with rules.
Comment #4
Elin Yordanov CreditAttribution: Elin Yordanov commentedComment #5
Neli CreditAttribution: Neli commentedVery viable solution, but for me it's not working.
I the error:
Integrity constraint violation: 1062 Duplicate entry '92-5' for key 'PRIMARY': INSERT INTO {users_roles}
Does anybody else get this error while using Email Registration + Rule mentioned here?
Comment #6
Stan Turyn CreditAttribution: Stan Turyn commented#4 works very well for me; thank you, pc-wurm