Skip to content

Commit

Permalink
Use ns'd hash class
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed May 23, 2017
1 parent 4509444 commit 93e364f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Joomla/CMS/User/UserHelper.php
Expand Up @@ -334,7 +334,7 @@ public static function verifyPassword($password, $hash, $user_id = 0)
if (strpos($hash, '$P$') === 0)
{
// Use PHPass's portable hashes with a cost of 10.
$phpass = new PasswordHash(10, true);
$phpass = new \PasswordHash(10, true);

$match = $phpass->CheckPassword($password, $hash);

Expand Down

0 comments on commit 93e364f

Please sign in to comment.