summaryrefslogtreecommitdiff
path: root/modules/user/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-18 01:05:02 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-18 01:05:02 -0800
commitc10386fe87f9fe0d659e730d171800f26f809604 (patch)
treeea5c8a8aee3eab3582bf0a39749d0362c95fdf98 /modules/user/helpers
parent0736cf203b37534848482e47c3afde9b58d6ce27 (diff)
Convert html::specialchars() to html::chars()
Diffstat (limited to 'modules/user/helpers')
-rw-r--r--modules/user/helpers/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/helpers/user.php b/modules/user/helpers/user.php
index 5027580c..e092aecc 100644
--- a/modules/user/helpers/user.php
+++ b/modules/user/helpers/user.php
@@ -86,7 +86,7 @@ class user_Core {
}
// Passwords with <&"> created by G2 prior to 2.1 were hashed with entities
- $sanitizedPassword = html::specialchars($password, false);
+ $sanitizedPassword = html::chars($password, false);
$guess = (strlen($valid) == 32) ? md5($sanitizedPassword)
: ($salt . md5($salt . $sanitizedPassword));
if (!strcmp($guess, $valid)) {