From: Anders Wegge Jakobsen Date: Mon, 23 May 2005 20:53:46 +0000 (+0000) Subject: * (bug 2126) Emergency fix of problems with one-time passwords. X-Git-Tag: 1.5.0alpha2~110 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=915c10b1551715135500bca7ea2761fa9eea1349;p=lhc%2Fweb%2Fwiklou.git * (bug 2126) Emergency fix of problems with one-time passwords. --- 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' ) ) {