mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- bug 212 fixed: during registration process, different password and
password confirmation triggered no error. git-svn-id: http://piwigo.org/svn/branches/branch-1_5@945 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+9
-8
@@ -36,14 +36,15 @@ if (isset($_POST['submit']))
|
||||
{
|
||||
array_push($errors, $lang['reg_err_pass']);
|
||||
}
|
||||
|
||||
$errors =
|
||||
array_merge(
|
||||
$errors,
|
||||
register_user($_POST['login'],
|
||||
$_POST['password'],
|
||||
$_POST['mail_address'])
|
||||
);
|
||||
else
|
||||
{
|
||||
$errors =
|
||||
register_user(
|
||||
$_POST['login'],
|
||||
$_POST['password'],
|
||||
$_POST['mail_address']
|
||||
);
|
||||
}
|
||||
|
||||
if (count($errors) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user