Fix CAS logout with redirection to original service
This commit is contained in:
parent
e8b382925a
commit
d4e65af283
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||||
|
|
Loading…
Reference in a new issue