mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +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:
+5
-6
@@ -52,12 +52,11 @@ if (isset($_POST['submit']))
|
||||
$page['errors'][] = l10n('please enter your password again');
|
||||
}
|
||||
|
||||
$page['errors'] =
|
||||
register_user($_POST['login'],
|
||||
$_POST['password'],
|
||||
$_POST['mail_address'],
|
||||
true,
|
||||
$page['errors']);
|
||||
register_user($_POST['login'],
|
||||
$_POST['password'],
|
||||
$_POST['mail_address'],
|
||||
true,
|
||||
$page['errors']);
|
||||
|
||||
if (count($page['errors']) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user