summaryrefslogtreecommitdiff
path: root/includes/Title.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Title.php')
-rw-r--r--includes/Title.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/Title.php b/includes/Title.php
index 33373b2c..02607496 100644
--- a/includes/Title.php
+++ b/includes/Title.php
@@ -1854,7 +1854,10 @@ class Title {
# Always grant access to the login page.
# Even anons need to be able to log in.
- if ( $this->isSpecial( 'Userlogin' ) || $this->isSpecial( 'ChangePassword' ) ) {
+ if ( $this->isSpecial( 'Userlogin' )
+ || $this->isSpecial( 'ChangePassword' )
+ || $this->isSpecial( 'PasswordReset' )
+ ) {
return true;
}