From: Tim Starling Date: Tue, 4 Jan 2005 10:49:20 +0000 (+0000) Subject: uncommenting ISO8859-1 converted password fix X-Git-Tag: 1.5.0alpha1~1000 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=62462e492df5404818538567985437f5069029e4;p=lhc%2Fweb%2Fwiklou.git uncommenting ISO8859-1 converted password fix --- diff --git a/includes/User.php b/includes/User.php index faf7ab5608..a2772392d6 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1163,10 +1163,10 @@ class User { } elseif ( function_exists( 'iconv' ) ) { # Some wikis were converted from ISO 8859-1 to UTF-8, the passwords can't be converted # Check for this with iconv -/* $cp1252hash = $this->encryptPassword( iconv( 'UTF-8', 'WINDOWS-1252', $password ) ); + $cp1252hash = $this->encryptPassword( iconv( 'UTF-8', 'WINDOWS-1252', $password ) ); if ( 0 == strcmp( $cp1252hash, $this->mPassword ) ) { return true; - }*/ + } } return false; }