mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 03:39:57 +03:00
fixes #413, force log in with auth key user
This commit is contained in:
parent
a12425629e
commit
2fcf276811
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue