mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug 2988: register_user() must returns new user id
git-svn-id: http://piwigo.org/svn/trunk@25116 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -60,8 +60,7 @@ if ($conf['apache_authentication'])
|
||||
{
|
||||
if (!($user['id'] = get_userid($remote_user)))
|
||||
{
|
||||
register_user($remote_user, '', '', false);
|
||||
$user['id'] = get_userid($remote_user);
|
||||
$user['id'] = register_user($remote_user, '', '', false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user