mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Fix ticket #1694. Correct Spelling of mininum_password_length to minimum_password_length
This commit is contained in:
@@ -105,7 +105,7 @@ class Password_Controller extends Controller {
|
||||
if (!empty($hash)) {
|
||||
$hidden->value($hash);
|
||||
}
|
||||
$minimum_length = module::get_var("user", "mininum_password_length", 5);
|
||||
$minimum_length = module::get_var("user", "minimum_password_length", 5);
|
||||
$input_password = $group->password("password")->label(t("Password"))->id("g-password")
|
||||
->rules($minimum_length ? "required|length[$minimum_length, 40]" : "length[40]");
|
||||
$group->password("password2")->label(t("Confirm Password"))->id("g-password2")
|
||||
|
||||
Reference in New Issue
Block a user