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.
user_save is called in ldapauth_authenticate as well as ldapgroups_user_login(), whether or not the data being passed is different. This results in many unnecessary hooks being fired.
Attached patch checks the ldap data/roles before saving. I also included a patch against the older dev version of this module since I'm still on that.
Comment | File | Size | Author |
---|---|---|---|
ldap_integration_dont_blindly_user_save-older.patch | 1.26 KB | msonnabaum | |
ldap_integration_dont_blindly_user_save.patch | 1.25 KB | msonnabaum |
Comments
Comment #1
John Franklin CreditAttribution: John Franklin commentedWith a patch attached, the status should be "needs review."