summaryrefslogtreecommitdiff
path: root/modules/user/models
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/models
parenta9eb995dd2b64667c300c6193656b6cdfeb4e2a5 (diff)
Fix ticket #1694. Correct Spelling of mininum_password_length to minimum_password_length
Diffstat (limited to 'modules/user/models')
-rw-r--r--modules/user/models/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/models/user.php b/modules/user/models/user.php
index 145738ca..a8a3a0e7 100644
--- a/modules/user/models/user.php
+++ b/modules/user/models/user.php
@@ -147,7 +147,7 @@ class User_Model_Core extends ORM implements User_Definition {
}
if (!$this->loaded() || isset($this->password_length)) {
- $minimum_length = module::get_var("user", "mininum_password_length", 5);
+ $minimum_length = module::get_var("user", "minimum_password_length", 5);
if ($this->password_length < $minimum_length) {
$v->add_error("password", "min_length");
}