mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
add autologin for anonymous user as we need to have on community.egroupware.org
This commit is contained in:
parent
a3e859f85f
commit
177d729959
@ -157,6 +157,13 @@
|
||||
$submit = True;
|
||||
}
|
||||
}
|
||||
if(!$passwd && ($GLOBALS['egw_info']['server']['auto_anon_login']) && !$_GET['cd'])
|
||||
{
|
||||
$_SERVER['PHP_AUTH_USER'] = $login = 'anonymous';
|
||||
$_SERVER['PHP_AUTH_PW'] = $passwd = 'anonymous';
|
||||
$passwd_type = 'text';
|
||||
$submit = True;
|
||||
}
|
||||
}
|
||||
|
||||
# Apache + mod_ssl style SSL certificate authentication
|
||||
|
Loading…
Reference in New Issue
Block a user