aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-01 10:05:33 +0100
committerplegall <plg@piwigo.org>2016-02-01 10:05:33 +0100
commit2fcf276811723d300b4d4c08675994339a6688fa (patch)
tree45b4011ea187bf19ea6990ac5c0ea1557ad53b13 /include
parenta12425629e68c51a2f05c3f1cfa990e694ea0424 (diff)
fixes #413, force log in with auth key user
Diffstat (limited to 'include')
-rw-r--r--include/functions_user.inc.php5
1 files changed, 0 insertions, 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;