- 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:
plegall 2005-11-19 16:05:26 +00:00
parent 89fec49fda
commit a8836718e5

View file

@ -36,14 +36,15 @@ if (isset($_POST['submit']))
{ {
array_push($errors, $lang['reg_err_pass']); array_push($errors, $lang['reg_err_pass']);
} }
else
$errors = {
array_merge( $errors =
$errors, register_user(
register_user($_POST['login'], $_POST['login'],
$_POST['password'], $_POST['password'],
$_POST['mail_address']) $_POST['mail_address']
); );
}
if (count($errors) == 0) if (count($errors) == 0)
{ {