Fix CAS logout with redirection to original service

This commit is contained in:
Benjamin Renard 2022-02-09 12:31:34 +01:00 committed by root
parent e8b382925a
commit d4e65af283

View file

@ -336,7 +336,7 @@ if (isset($_REQUEST['do'])) {
break; break;
case 'caslogout': case 'caslogout':
phpCAS::forceAuthentication(); phpCAS::forceAuthentication();
phpCAS::logoutWithUrl($service_url); phpCAS::logoutWithRedirectService($service_url);
break; break;
case 'locallogout': case 'locallogout':
unset($_SESSION['session_url']); unset($_SESSION['session_url']);