Check the minimum length when adding or modifying users via the admin screen.

This commit is contained in:
Tim Almdal
2009-10-27 14:21:59 -07:00
parent dbf18318f6
commit 3b4a64c698
2 changed files with 4 additions and 2 deletions
-1
View File
@@ -84,7 +84,6 @@ class Users_Controller extends Controller {
$form->edit_user->password
->rules($minimum_length ? "length[$minimum_length, 40]" : "length[40]");
module::event("user_edit_form", $user, $form);
$group->submit("")->value(t("Save"));
return $form;