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.
Some organization I work with uses Gigya because they are not allowed to store users email address directly into their database.
The alternative approach is to use gigya for auth and then store a salted,hashed representation of the email address in the database. We can hook easily before the creation of the user is made into the database and change the email address but it is currently impossible to hook before the module look for existing user in the db with the non-salted/hashed version of the email.
I've included a simple module_invoke_all that provide a simple hook.
Comment | File | Size | Author |
---|---|---|---|
#2 | alter-user-email.patch | 639 bytes | jonathanbardo |
Comments
Comment #1
jonathanbardo CreditAttribution: jonathanbardo commentedComment #2
jonathanbardo CreditAttribution: jonathanbardo commentedComment #3
jonathanbardo CreditAttribution: jonathanbardo commentedComment #4
Gigya CreditAttribution: Gigya commentedA patch provided.