diff --git a/src/Auth/Utils.php b/src/Auth/Utils.php index f4e3fca..de68826 100644 --- a/src/Auth/Utils.php +++ b/src/Auth/Utils.php @@ -226,7 +226,7 @@ public static function checkForValidSSO(array $state): bool public static function handleLogout(): void { Logger::debug("privacyIDEA: Logout handler called. Removing SSO data."); - Session::getSessionFromRequest()->deleteData('privacyidea:privacyidea:sso', "2FA-success"); + Session::getSessionFromRequest()->deleteData('privacyidea:privacyidea', "2FA-success"); } /** @@ -444,4 +444,4 @@ public static function getHeadersToForward(string $headers): array } return $headersToForward; } -} \ No newline at end of file +}