diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2011-04-23 12:16:06 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2011-04-23 12:16:06 -0700 |
commit | 466f2a657ef4b22346e2232f50bc5cca4ab6e540 (patch) | |
tree | 06e4f2226d7c1b990d7ebb920b15456e9af871d4 /modules/user/controllers/password.php | |
parent | a9eb995dd2b64667c300c6193656b6cdfeb4e2a5 (diff) |
Fix ticket #1694. Correct Spelling of mininum_password_length to minimum_password_length
Diffstat (limited to 'modules/user/controllers/password.php')
-rw-r--r-- | modules/user/controllers/password.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/controllers/password.php b/modules/user/controllers/password.php index 4e93d5ce..cd46bbed 100644 --- a/modules/user/controllers/password.php +++ b/modules/user/controllers/password.php @@ -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") |