Skip to content

Commit

Permalink
password validator / password hash generator
Browse files Browse the repository at this point in the history
  • Loading branch information
teodoroleckie committed May 8, 2021
1 parent 939441a commit 6795a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hash.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ public function passwordVerify(string $password, string $hash): bool
*/
public function createHash(string $password): string
{
return password_hash($password, PASSWORD_BCRYPT);
return password_hash($password, \PASSWORD_BCRYPT);
}
}

0 comments on commit 6795a10

Please sign in to comment.