Skip to content

Commit 259e07e

Browse files
authored
Revert Destroy session cookies on logout #2278 (#2436)
This is a reversion of #2278 It has some issues with running SimpleSAMLphp as a bridge #2435
1 parent 3e2ff3f commit 259e07e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

modules/saml/src/Controller/ServiceProvider.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,9 +586,6 @@ public function singleLogoutService(string $sourceId): RunnableResponse
586586
$state = $this->authState::loadState($relayState, 'saml:slosent');
587587
$state['saml:sp:LogoutStatus'] = $message->getStatus();
588588

589-
// Destroy session cookies.
590-
$this->session->updateSessionCookies(['expire' => true]);
591-
592589
return new RunnableResponse([Auth\Source::class, 'completeLogout'], [&$state]);
593590
} elseif ($message instanceof LogoutRequest) {
594591
Logger::debug('module/saml2/sp/logout: Request from ' . $idpEntityId);

0 commit comments

Comments
 (0)