From: Niklas Laxström Date: Fri, 26 Aug 2005 22:20:56 +0000 (+0000) Subject: * (bug 2613) Clear saved passwords from the form X-Git-Tag: 1.6.0~1785 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=9cff7722f4cb0faa27fae2044b27525e2c8f5efd;p=lhc%2Fweb%2Fwiklou.git * (bug 2613) Clear saved passwords from the form --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 87d6c2d339..2cf2b3706e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -57,6 +57,7 @@ fully support the editing toolbar, but was found to be too confusing. * (bug 2554) Tell users they are uploading too large file * (bug 3271) Updated LanguageNn.php for HEAD * (bug 3280) Respect 'move' group permission on page moves +* (bug 2613) Clear saved passwords from the form === Caveats === diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index bd462909c3..465f69cd53 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -216,6 +216,8 @@ class PreferencesForm { return; } $wgUser->setPassword( $this->mNewpass ); + $this->mNewpass = $this->mOldpass = $this->mRetypePass = ''; + } $wgUser->setRealName( $this->mRealName );