Use phpCAS::logoutWithUrl() on logout to ask for redirection to local app

This commit is contained in:
Benjamin Renard 2020-12-03 15:25:44 +01:00
parent f58bfa26f9
commit 0a785d97d8

View file

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