From 2fcf276811723d300b4d4c08675994339a6688fa Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 1 Feb 2016 10:05:33 +0100 Subject: fixes #413, force log in with auth key user --- include/functions_user.inc.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 340bca9cb..ac85d1b47 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -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; -- cgit v1.2.3