forked from extern/egroupware
* API: fixed a reported deprecated warning on logout when using CAS
This commit is contained in:
parent
332427277d
commit
9ae32b68a0
@ -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