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.
This commit is contained in:
Bharat Mediratta
2011-05-24 20:37:51 -07:00
parent 46666837f3
commit 44247fb2d1

View File

@@ -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") {