mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Implemented two new options for CAS:
- logout_redirect_service - memberOf SVN:trunk[1363]
This commit is contained in:
@@ -42,8 +42,13 @@ LoginWebPage::ResetSession();
|
||||
switch($sLoginMode)
|
||||
{
|
||||
case 'cas':
|
||||
$sCASLogoutUrl = MetaModel::GetConfig()->Get('cas_logout_redirect_service');
|
||||
if (empty($sCASLogoutUrl))
|
||||
{
|
||||
$sCASLogoutUrl = $sUrl;
|
||||
}
|
||||
utils::InitCASClient();
|
||||
phpCAS::logoutWithUrl($sUrl); // Redirects to the CAS logout page
|
||||
phpCAS::logoutWithRedirectService($sCASLogoutUrl); // Redirects to the CAS logout page
|
||||
break;
|
||||
}
|
||||
$oPage = new LoginWebPage();
|
||||
|
||||
Reference in New Issue
Block a user