mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-22 07:43:53 -04:00
Check the minimum length when adding or modifying users via the admin screen.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user