From 6228352592b5f0d8d1913bbaae4ea6f6d17727f2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 23 Dec 2006 06:45:30 +0000 Subject: [PATCH] * Fix regression in email password resets on read-restricted sites Need access to Special:Resetpass in order to complete login with temporary e-mailed password. Add it to the always-on internal whitelist alongside Special:Userlogin --- RELEASE-NOTES | 2 ++ includes/Title.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 9e64ec2f97..b85d503f8d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -386,6 +386,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN the bidi override characters appended to the lists. A more thorough blacklist for forbidden and translatable characters would be wise, though, as might a cleaner method for the lists in the first place. +* Fix regression in email password resets on read-restricted sites + == Languages updated == diff --git a/includes/Title.php b/includes/Title.php index a2cf380ce1..a6145e89d6 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1187,7 +1187,7 @@ class Title { * Always grant access to the login page. * Even anons need to be able to log in. */ - if( $this->isSpecial( 'Userlogin' ) ) { + if( $this->isSpecial( 'Userlogin' ) || $this->isSpecial( 'Resetpass' ) ) { return true; } -- 2.20.1