summaryrefslogtreecommitdiff
path: root/modules/user/models
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2011-04-23 23:26:40 -0400
committerChad Kieffer <ckieffer@gmail.com>2011-04-23 23:26:40 -0400
commitbbb2a3a30c57592b1baed17533bc3a2e7edb2e8a (patch)
tree8cac738aace3d4ae1d237fcd619a5e2e33275948 /modules/user/models
parent342be9818f8c35dd13c8159960a9f71ae33d4c72 (diff)
parent4c7f27a1a6a4fc71873093dd787de05a8ee6c079 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
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");
}