mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
fixes #413, force log in with auth key user
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user