mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-05 03:09:08 -04:00
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:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user