From: Brion Vibber Date: Sat, 23 Dec 2006 06:45:30 +0000 (+0000) Subject: * Fix regression in email password resets on read-restricted sites X-Git-Tag: 1.31.0-rc.0~54802 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=6228352592b5f0d8d1913bbaae4ea6f6d17727f2;p=lhc%2Fweb%2Fwiklou.git * 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 --- 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; }