From 089e644d1475fc2fdc8eda36c899e7a652cd708f Mon Sep 17 00:00:00 2001 From: mathis Date: Fri, 27 Feb 2026 11:48:01 +0100 Subject: [PATCH] update EasyCheck URL in environment configuration --- src/EventListener/LogoutSubscriber.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/EventListener/LogoutSubscriber.php b/src/EventListener/LogoutSubscriber.php index be38ffa..32b587d 100644 --- a/src/EventListener/LogoutSubscriber.php +++ b/src/EventListener/LogoutSubscriber.php @@ -24,7 +24,8 @@ class LogoutSubscriber implements EventSubscriberInterface public function onLogout(LogoutEvent $event): void { - $easycheckLogoutUrl = $this->easycheckUrl . '/logout'; + // Ajouter un paramètre pour indiquer à EasyCheck de revenir au portail après logout + $easycheckLogoutUrl = $this->easycheckUrl . '/logout?redirect_to=portal'; $this->logger->info('LogoutSubscriber triggered - redirecting to EasyCheck logout', [ 'easycheck_logout_url' => $easycheckLogoutUrl,