From 915c10b1551715135500bca7ea2761fa9eea1349 Mon Sep 17 00:00:00 2001 From: Anders Wegge Jakobsen Date: Mon, 23 May 2005 20:53:46 +0000 Subject: [PATCH] * (bug 2126) Emergency fix of problems with one-time passwords. --- includes/User.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index 2c87e4ef08..28ed805e66 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1312,7 +1312,10 @@ class User { $this->mEmailAuthenticated = wfTimestampNow(); # use the temporary one-time password only once: clear it now ! - $this->mNewpassword = ''; + + # Emergency measure. Uncomment blanking of one-time password + # reported in bug 2126 + # $this->mNewpassword = ''; $this->saveSettings(); return true; } elseif ( function_exists( 'iconv' ) ) { -- 2.20.1