diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-05-24 20:37:51 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-05-24 20:37:51 -0700 |
commit | 44247fb2d1698286e558cd6f5ee5bb87a8612f9b (patch) | |
tree | 7614f55f655a75c703cbccb36aba89a553cf46c3 /modules | |
parent | 46666837f3e6c996423e4baf48513c36f0f55f28 (diff) |
Allow password reset even when we're in maintenance or private gallery
mode, otherwise you can't reset your password if you forgot it when the
Gallery is locked down. #1735.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/controllers/password.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/user/controllers/password.php b/modules/user/controllers/password.php index cd46bbed..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") { |