I need an email registration system only in my drupal site.
I installed the module email_registration and I created a module like this http://www.grasmash.com/article/using-your-email-address-your-drupal-username to set the username like the own email address.
Now my user has: name: email@example.com email: firstname.lastname@example.org But if the user changes is email address the username doesn't update. So if email@example.com changes his email to firstname.lastname@example.org the username remain the same.
I tried to update the username by the Set a data value of Rules module After updating an existing profile but I dont know how set this action... Can you help me??