"Fix for bug #1891: CAS auth seems to fail"

This commit is contained in:
Ralf Becker 2009-07-18 12:22:48 +00:00
parent b5c8df2015
commit 3d5a57ca7b

View File

@ -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);