From 9cff7722f4cb0faa27fae2044b27525e2c8f5efd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Fri, 26 Aug 2005 22:20:56 +0000 Subject: [PATCH] * (bug 2613) Clear saved passwords from the form --- RELEASE-NOTES | 1 + includes/SpecialPreferences.php | 2 ++ 2 files changed, 3 insertions(+) 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 ); -- 2.20.1