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.
Currently, the invite module will treat two email addresses that are the same except for case as completely different. It allows a user to send multiple invitations to the same address if the case is different, and fails to detect a user registering with an invited email address unless it is entered in the same case as the invitation.
This patch always stores the invitation email address in lowercase, and when checking against the account email address uses the SQL "lower" function to do a case-insensitive match.
Comment | File | Size | Author |
---|---|---|---|
#1 | invite_lowercase_email.patch | 2.33 KB | scottgifford |
invite_lowercase_email.patch | 2.33 KB | scottgifford |
Comments
Comment #1
scottgifford CreditAttribution: scottgifford commentedPrevious patch was reversed, sorry!
Comment #2
ckngCleaning out old issues.