From 2a214b4593905fb27835c163001cce869785a185 Mon Sep 17 00:00:00 2001 From: flop25 Date: Fri, 25 Oct 2013 19:33:57 +0000 Subject: bug:2948 The registration can be done without typing a password hotfix for 2.5.3 git-svn-id: http://piwigo.org/svn/branches/2.5@25149 68402e56-0260-453c-a942-63ccdbb3a9ee --- register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register.php b/register.php index dfc5ac487..87ef797a9 100644 --- a/register.php +++ b/register.php @@ -47,7 +47,7 @@ if (isset($_POST['submit'])) array_push($page['errors'], 'Invalid/expired form key'); } - if ($_POST['password'] != $_POST['password_conf']) + if ($_POST['password'] != $_POST['password_conf'] or empty($_POST['password'])) { array_push($page['errors'], l10n('please enter your password again')); } -- cgit v1.2.3