SSO #1

Merged
Charles-Edouard merged 23 commits from SSO into main 2025-07-29 16:46:46 +02:00
1 changed files with 1 additions and 4 deletions
Showing only changes of commit f238a41205 - Show all commits

View File

@ -47,11 +47,8 @@ class SecurityController extends AbstractController
{ {
try{ try{
$logger->info("SESSION ID: " . $stack->getSession()->getId());
// dd($stack->getSession());
if( $stack->getSession()->invalidate()){ if( $stack->getSession()->invalidate()){
// $accessTokenService->revokeTokens(); $accessTokenService->revokeTokens($security->getUser()->getUserIdentifier());
$security->logout(false); $security->logout(false);
$logger->info("Session invalidated successfully"); $logger->info("Session invalidated successfully");
} else { } else {