Loading src/UnicaenAuth/Authentication/Adapter/Cas.php +3 −5 Original line number Diff line number Diff line Loading @@ -108,11 +108,9 @@ class Cas extends AbstractAdapter implements ServiceManagerAwareInterface, Event return; // NB: l'authentification CAS est désactivée ssi le tableau des options est vide } if ($this->getCasClient()->isAuthenticated()) { $router = $this->getServiceManager()->get('router'); /* @var $router TreeRouteStack */ $returnUrl = $router->getRequestUri()->setPath($router->getBaseUrl())->toString(); $this->getCasClient(false)->logoutWithRedirectService($returnUrl); } $this->getCasClient()->logoutWithRedirectService($returnUrl); } /** Loading Loading
src/UnicaenAuth/Authentication/Adapter/Cas.php +3 −5 Original line number Diff line number Diff line Loading @@ -108,11 +108,9 @@ class Cas extends AbstractAdapter implements ServiceManagerAwareInterface, Event return; // NB: l'authentification CAS est désactivée ssi le tableau des options est vide } if ($this->getCasClient()->isAuthenticated()) { $router = $this->getServiceManager()->get('router'); /* @var $router TreeRouteStack */ $returnUrl = $router->getRequestUri()->setPath($router->getBaseUrl())->toString(); $this->getCasClient(false)->logoutWithRedirectService($returnUrl); } $this->getCasClient()->logoutWithRedirectService($returnUrl); } /** Loading