* (bug 2126) Emergency fix of problems with one-time passwords.
authorAnders Wegge Jakobsen <wegge@users.mediawiki.org>
Mon, 23 May 2005 20:53:46 +0000 (20:53 +0000)
committerAnders Wegge Jakobsen <wegge@users.mediawiki.org>
Mon, 23 May 2005 20:53:46 +0000 (20:53 +0000)
includes/User.php

index 2c87e4e..28ed805 100644 (file)
@@ -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' ) ) {