removed crippled enotif code from checkPassword(), this is roughly how it was in...
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 24 May 2005 04:28:00 +0000 (04:28 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 24 May 2005 04:28:00 +0000 (04:28 +0000)
includes/User.php

index 28ed805..ef785c3 100644 (file)
@@ -1306,17 +1306,6 @@ class User {
                if ( 0 == strcmp( $ep, $this->mPassword ) ) {
                        return true;
                } elseif ( ($this->mNewpassword != '') && (0 == strcmp( $ep, $this->mNewpassword )) ) {
-                       # If e-mail confirmation hasn't been done already,
-                       # we may as well confirm it here -- the user can only
-                       # get this password via e-mail.
-                       $this->mEmailAuthenticated = wfTimestampNow();
-                       
-                       # use the temporary one-time password only once: clear it now !
-
-                       # Emergency measure. Uncomment blanking of one-time password
-                       # reported in bug 2126
-                       # $this->mNewpassword = '';
-                       $this->saveSettings();
                        return true;
                } elseif ( function_exists( 'iconv' ) ) {
                        # Some wikis were converted from ISO 8859-1 to UTF-8, the passwords can't be converted