diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-08-27 20:56:03 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-08-27 20:56:03 -0700 |
commit | 084c2717c0ddff6c5caa79c62abb3cdb9b4aea31 (patch) | |
tree | af0fc03f042d11715cbbb3d137390d7df706ec3c /modules/user/controllers/password.php | |
parent | dc21cf36b606048dc24532407d39bc8f5b4211fa (diff) | |
parent | 246f5b59cb0e525a5ff6eaffce6b13e9af7e70b2 (diff) |
Merge branch 'master' into bharat_dev
Diffstat (limited to 'modules/user/controllers/password.php')
-rw-r--r-- | modules/user/controllers/password.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/user/controllers/password.php b/modules/user/controllers/password.php index 4e93d5ce..ab31c6b4 100644 --- a/modules/user/controllers/password.php +++ b/modules/user/controllers/password.php @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class Password_Controller extends Controller { + const ALLOW_MAINTENANCE_MODE = true; + const ALLOW_PRIVATE_GALLERY = true; + public function reset() { $form = self::_reset_form(); if (request::method() == "post") { @@ -105,7 +108,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") |