diff --git a/admin/users.php b/admin/users.php index 52ec55f..0dc548f 100644 --- a/admin/users.php +++ b/admin/users.php @@ -31,7 +31,7 @@ function can_process($new) { set_focus('user_id'); return false; } - if (!$new && ($_POST['password'] != '')) { + if ($new || (!$new && ($_POST['password'] != ''))) { if (strlen($_POST['password']) < 4) { display_error( _('The password entered must be at least 4 characters long.')); set_focus('password');