aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'register.php')
-rw-r--r--register.php2
1 files changed, 1 insertions, 1 deletions
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'));
}