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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mfernea created an issue. See original summary.

mfernea’s picture

Status: Active » Needs review
FileSize
834 bytes

Here is the patch.