summaryrefslogtreecommitdiff
path: root/modules/user/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-18 03:39:42 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-18 03:39:42 +0000
commit993742feb308a6cba77e06cf72dfecae83c428ab (patch)
tree4cdbb97f42c596754a3ee04cf41023336cfd5749 /modules/user/helpers
parent5133d2cbb9fb6ae30bccf25c0364008cc797cb87 (diff)
Move 3rd party PasswordHash library into the "lib" dir for
consistency. No 3rd party libs in "libraries", at least for now.
Diffstat (limited to 'modules/user/helpers')
-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);
}