Fix ticket #1694. Correct Spelling of mininum_password_length to minimum_password_length

This commit is contained in:
Tim Almdal
2011-04-23 12:16:06 -07:00
parent a9eb995dd2
commit 466f2a657e
5 changed files with 84 additions and 75 deletions
+1 -1
View File
@@ -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");
}