It could be quite useful to allow the email field to be a fallback for the username during Drupal login (i.e. email login). There are of course contrib tools to do this with a local Drupal account (e.g. email registration) but they will not be aware of the current state of the account data in Crowd. This is why supporting this concept would requite some specific functionality within this module directly.

CommentFileSizeAuthor
#2 2742263-2.patch4.29 KBrjacobs
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rjacobs created an issue. See original summary.

rjacobs’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
4.29 KB

Here's a patch. It adds a config option that, when enabled, will lookup users that have the email address entered in the login username field, and test the credentials against their account as a fallback.

  • rjacobs committed 224e3fc on 7.x-2.x
    Issue #2742263 by rjacobs: Allow email fallback for username
    
rjacobs’s picture

Status: Needs review » Fixed

Looks good, committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.