mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
* API: fixed a reported deprecated warning on logout when using CAS
This commit is contained in:
parent
a91a5c2151
commit
770b21b226
@ -60,7 +60,7 @@ if($GLOBALS['egw_info']['server']['auth_type'] == 'cas')
|
|||||||
$GLOBALS['egw_info']['server']['cas_server_host_name'],
|
$GLOBALS['egw_info']['server']['cas_server_host_name'],
|
||||||
(int) $GLOBALS['egw_info']['server']['cas_server_port'],
|
(int) $GLOBALS['egw_info']['server']['cas_server_port'],
|
||||||
$GLOBALS['egw_info']['server']['cas_server_uri'] );
|
$GLOBALS['egw_info']['server']['cas_server_uri'] );
|
||||||
phpCAS::logout($GLOBALS['egw_info']['server']['webserver_url'].'/login.php?cd=1&domain='.$GLOBALS['egw_info']['user']['domain']);
|
phpCAS::logout(array('url'=>$GLOBALS['egw_info']['server']['webserver_url'].'/login.php?cd=1&domain='.$GLOBALS['egw_info']['user']['domain']));
|
||||||
}
|
}
|
||||||
|
|
||||||
// $GLOBALS['egw']->redirect($redirectTarget);
|
// $GLOBALS['egw']->redirect($redirectTarget);
|
||||||
|
Loading…
Reference in New Issue
Block a user