Use phpCAS::logoutWithUrl() on logout to ask for redirection to local app
This commit is contained in:
parent
f58bfa26f9
commit
0a785d97d8
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ if (isset($_REQUEST['do'])) {
|
||||||
break;
|
break;
|
||||||
case 'caslogout':
|
case 'caslogout':
|
||||||
phpCAS::forceAuthentication();
|
phpCAS::forceAuthentication();
|
||||||
phpCAS::logout();
|
phpCAS::logoutWithUrl($service_url);
|
||||||
break;
|
break;
|
||||||
case 'locallogout':
|
case 'locallogout':
|
||||||
unset($_SESSION['session_url']);
|
unset($_SESSION['session_url']);
|
||||||
|
|
Loading…
Reference in a new issue