mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-03 11:39:10 -04:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user