From 62462e492df5404818538567985437f5069029e4 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 4 Jan 2005 10:49:20 +0000 Subject: [PATCH] uncommenting ISO8859-1 converted password fix --- includes/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.20.1