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.
SimpleSAML_Session::getAuthority() has been removed in 1.14, and this causes /user/logout to fail. I've provided a patch.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupalauth4ssp-getAuthority-2691915-2.patch | 970 bytes | sanchiz |
expire-authorities.patch | 619 bytes | Agileware | |
Comments
Comment #2
sanchiz CreditAttribution: sanchiz at FFW, Five Jars, Drupal Ukraine Community for Drupal Ukraine Community commentedThank you, Agileware! Committed.
I've also update your patch to keep backward compatibility.
Available now in 7.x-1.x-dev or in 7.x-1.0-beta3 and later once released.
Comment #3
sanchiz CreditAttribution: sanchiz at FFW, Five Jars, Drupal Ukraine Community for Drupal Ukraine Community commentedComment #6
sanchiz CreditAttribution: sanchiz at FFW, Five Jars, Drupal Ukraine Community for Drupal Ukraine Community commentedComment #7
sanchiz CreditAttribution: sanchiz at FFW, Five Jars, Drupal Ukraine Community for Drupal Ukraine Community commentedComment #9
geekwisdom CreditAttribution: geekwisdom as a volunteer commentedIt seems this is not bullet proof enough.
if (method_exists($session, 'setAuthorityExpire')) {
should be
if (method_exists($session, 'setAuthorityExpire') && method_exists($session, 'getAuthority')) {
or perhaps just
if (method_exists($session, 'getAuthority')) {