mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
"Fix for bug #1891: CAS auth seems to fail"
This commit is contained in:
parent
10006c16ec
commit
67913ad192
@ -93,7 +93,7 @@ if($GLOBALS['egw_info']['server']['auth_type'] == 'cas')
|
||||
|
||||
$login = phpCAS::getUser();
|
||||
$password = phpCAS::retrievePT("imap://".$GLOBALS['egw_info']['server']['mail_server'],$err_code,$output);
|
||||
$GLOBALS['sessionid'] = $GLOBALS['egw']->session->create($login,$password,'text','u');
|
||||
$GLOBALS['sessionid'] = $GLOBALS['egw']->session->create($login,$password,'text');
|
||||
|
||||
/* set auth_cookie */
|
||||
$GLOBALS['egw']->redirect_link($forward,$extra_vars);
|
||||
|
Loading…
Reference in New Issue
Block a user