mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
"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();
|
||||
$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