From 434ceecdaf35995299b0e4f00af2921c37c43e56 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 3 Mar 2009 13:45:53 +0000 Subject: [PATCH] (bug 17722) Fix regression where users are unable to change temporary passwords --- RELEASE-NOTES | 1 + includes/specials/SpecialUserlogin.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f012f1ae00..7392098db9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -234,6 +234,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN queue * (bug 17761) "show/hide" link in page history in now works for the first displayed revision if it's not the current one +* (bug 17722) Fix regression where users are unable to change temporary passwords == API changes in 1.15 == * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index ce16b64448..4bb2bf950f 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -585,7 +585,7 @@ class LoginForm { global $wgOut; $wgOut->addHTML( Xml::element('p', array( 'class' => 'error' ), $error ) ); $reset = new SpecialResetpass(); - $reset->execute( null ); + $reset->execute( $this->mName ); } /** -- 2.20.1