mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-02 05:01:04 -04:00
Fix ticket #1694. Correct Spelling of mininum_password_length to minimum_password_length
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user