forked from extern/egroupware
"Fix for bug #1891: CAS auth seems to fail"
This commit is contained in:
parent
b5c8df2015
commit
3d5a57ca7b
@ -93,7 +93,7 @@ if($GLOBALS['egw_info']['server']['auth_type'] == 'cas')
|
|||||||
|
|
||||||
$login = phpCAS::getUser();
|
$login = phpCAS::getUser();
|
||||||
$password = phpCAS::retrievePT("imap://".$GLOBALS['egw_info']['server']['mail_server'],$err_code,$output);
|
$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 */
|
/* set auth_cookie */
|
||||||
$GLOBALS['egw']->redirect_link($forward,$extra_vars);
|
$GLOBALS['egw']->redirect_link($forward,$extra_vars);
|
||||||
|
Loading…
Reference in New Issue
Block a user