summaryrefslogtreecommitdiff
path: root/modules/user/controllers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2011-04-23 12:16:06 -0700
committerTim Almdal <tnalmdal@shaw.ca>2011-04-23 12:16:06 -0700
commit466f2a657ef4b22346e2232f50bc5cca4ab6e540 (patch)
tree06e4f2226d7c1b990d7ebb920b15456e9af871d4 /modules/user/controllers
parenta9eb995dd2b64667c300c6193656b6cdfeb4e2a5 (diff)
Fix ticket #1694. Correct Spelling of mininum_password_length to minimum_password_length
Diffstat (limited to 'modules/user/controllers')
-rw-r--r--modules/user/controllers/password.php2
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")