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.
Hi,
On Authentication tab setting, if you set email update to :
- Update stored email if LDAP email differs at login and notify user.
And DO NOT check
- Ignore the Email Update settings and never update the stored email if the template is used.
In the LoginValidator class, this option is evaluate to true (!false). Here is a patch to fix this.
Regards.
Comments
Comment #2
mogtofu33 CreditAttribution: mogtofu33 at Catalyst IT commentedComment #4
grahlHi mogtofu33
Thanks for your patch!
I'm committing this as-is since it's clearly the intended behavior. Looking over that section it's clear to me that the convoluted logic between "email update" and "email template" is not ideal but I don't see an easy and quick way to patch that. Might just need to cover that with unit tests...patches welcome.