fixes #413, force log in with auth key user

This commit is contained in:
plegall 2016-02-01 10:05:33 +01:00
parent a12425629e
commit 2fcf276811

View file

@ -1474,11 +1474,6 @@ function auth_key_login($auth_key)
{
global $conf, $user, $page;
if ($user['id'] != $conf['guest_id'])
{
return false;
}
if (!preg_match('/^[a-z0-9]{30}$/i', $auth_key))
{
return false;