diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-18 03:39:42 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-18 03:39:42 +0000 |
commit | 993742feb308a6cba77e06cf72dfecae83c428ab (patch) | |
tree | 4cdbb97f42c596754a3ee04cf41023336cfd5749 /modules/user | |
parent | 5133d2cbb9fb6ae30bccf25c0364008cc797cb87 (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')
-rw-r--r-- | modules/user/helpers/user.php | 1 | ||||
-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 |