summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/user/helpers/user.php1
-rw-r--r--modules/user/lib/PasswordHash.php (renamed from modules/user/libraries/PasswordHash.php)0
2 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/helpers/user.php b/modules/user/helpers/user.php
index e173c396..dd30670b 100644
--- a/modules/user/helpers/user.php
+++ b/modules/user/helpers/user.php
@@ -231,6 +231,7 @@ class user_Core {
/* Also support hashes generated by phpass for interoperability with other applications */
if (strlen($valid) == 34) {
+ require_once(MODPATH . "user/lib/PasswordHash.php");
$hashGenerator = new PasswordHash(10, true);
return $hashGenerator->CheckPassword($password, $valid);
}
diff --git a/modules/user/libraries/PasswordHash.php b/modules/user/lib/PasswordHash.php
index 550a01b7..550a01b7 100644
--- a/modules/user/libraries/PasswordHash.php
+++ b/modules/user/lib/PasswordHash.php