dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f1229
)
uncommenting ISO8859-1 converted password fix
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 4 Jan 2005 10:49:20 +0000
(10:49 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 4 Jan 2005 10:49:20 +0000
(10:49 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
faf7ab5
..
a277239
100644
(file)
--- 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;
}