mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
This commit is contained in:
parent
42698c08b6
commit
525abe5da6
@ -101,12 +101,12 @@
|
|||||||
if($GLOBALS['egw_info']['server']['allow_cookie_auth'])
|
if($GLOBALS['egw_info']['server']['allow_cookie_auth'])
|
||||||
{
|
{
|
||||||
$eGW_remember = explode('::::',stripslashes($_COOKIE['eGW_remember']));
|
$eGW_remember = explode('::::',stripslashes($_COOKIE['eGW_remember']));
|
||||||
|
|
||||||
if($eGW_remember[0] && $eGW_remember[1] && $eGW_remember[2])
|
if($eGW_remember[0] && $eGW_remember[1] && $eGW_remember[2])
|
||||||
{
|
{
|
||||||
$_SERVER['PHP_AUTH_USER'] = $login = $eGW_remember[1];
|
$_SERVER['PHP_AUTH_USER'] = $login = $eGW_remember[0];
|
||||||
$_SERVER['PHP_AUTH_PW'] = $passwd = $eGW_remember[2];
|
$_SERVER['PHP_AUTH_PW'] = $passwd = $eGW_remember[1];
|
||||||
$passwd_type = $eGW_remember[3];
|
$passwd_type = $eGW_remember[2];
|
||||||
$submit = True;
|
$submit = True;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user