From 7d847438b85fe4bb8886b9a341d7e46d16a5da15 Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 3 Nov 2021 13:34:15 -0400 Subject: [PATCH] Fix PHP session conflict with SimpleSAML --- plugins/Authentication/Saml/adSAML.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Authentication/Saml/adSAML.php b/plugins/Authentication/Saml/adSAML.php index e54b4a431..573abd406 100644 --- a/plugins/Authentication/Saml/adSAML.php +++ b/plugins/Authentication/Saml/adSAML.php @@ -111,6 +111,7 @@ public function authenticate() $this->userAttributes = $this->authSimple->getAttributes(); $returnValue = true; } + SimpleSAML_Session::getSessionFromRequest()->cleanup(); // Reverts to our PHP session return $returnValue; }