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.
Instead of only allowing simplesamlphp_auth_user_roles_alter() from firing when variable 'simplesamlphp_auth_roleevaleverytime' is enabled and the roles have been evaluated, always call this hook on _simplesaml_auth_user_login() as I would like to do additional altering of the roles when a user is logged in via saml.
Patch attached.
Comment | File | Size | Author |
---|---|---|---|
#2 | moved-user_roles_alter.patch | 1.33 KB | sherakama |
Comments
Comment #2
sherakama CreditAttribution: sherakama as a volunteer commented