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.
Problem/Motivation
logintoboggan_user_login_validate() sets the value of the name field to the username having the entered email. The original value of the field is lost (the email address). Also, other hooks don't know if that's an username or email.
Proposed resolution
email should be set in $form_state. Like email_registration module does for example.
Comment | File | Size | Author |
---|---|---|---|
#2 | logintoboggan-preserve-email-2921322-2.patch | 834 bytes | mfernea |
Comments
Comment #2
mfernea CreditAttribution: mfernea at AmeXio commentedHere is the patch.