From 993742feb308a6cba77e06cf72dfecae83c428ab Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 18 May 2009 03:39:42 +0000 Subject: Move 3rd party PasswordHash library into the "lib" dir for consistency. No 3rd party libs in "libraries", at least for now. --- modules/user/helpers/user.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/user/helpers') 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); } -- cgit v1.2.3