diff options
author | flop25 <flop25@piwigo.org> | 2013-10-24 17:55:00 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2013-10-24 17:55:00 +0000 |
commit | cd76660cf614089238dda022d938ae625db18cfe (patch) | |
tree | 00ec295b1811dcda1d3cc532dd4491a3efee1581 /admin | |
parent | 703c5f98393b46026b8f3cbe94171e87ea85f452 (diff) |
bug:2948 The registration can be done without typing a password
The password is only mandatory on the public register page
Better error messages from admin/user_list.php
git-svn-id: http://piwigo.org/svn/trunk@25121 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r-- | admin/user_list.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/admin/user_list.php b/admin/user_list.php index dd43b0d62..57387f6b1 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -194,10 +194,6 @@ if ($conf['double_password_type_in_admin'] == true) { $page['errors'][] = l10n('Password confirmation is missing. Please confirm the chosen password.'); } - else if(empty($_POST['email'])) - { - $page['errors'][] = l10n('Email address is missing. Please specify an email address.'); - } else if ($_POST['password'] != $_POST['password_conf']) { $page['errors'][] = l10n('The passwords do not match'); |