Move 3rd party PasswordHash library into the "lib" dir for

consistency.  No 3rd party libs in "libraries", at least for now.
This commit is contained in:
Bharat Mediratta
2009-05-18 03:39:42 +00:00
parent 5133d2cbb9
commit 993742feb3
2 changed files with 1 additions and 0 deletions

View File

@@ -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);
}