summaryrefslogtreecommitdiff
path: root/modules/user/helpers/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/helpers/user.php')
-rw-r--r--modules/user/helpers/user.php1
1 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);
}