set specific pwd algo

This commit is contained in:
Dennis Eichhorn 2021-06-23 23:58:50 +02:00
parent 930f7c8e86
commit d62222507a

View File

@ -327,7 +327,7 @@ class Account implements \JsonSerializable, ArrayableInterface
*/
public function generatePassword(string $password) : void
{
$temp = \password_hash($password, \PASSWORD_DEFAULT);
$temp = \password_hash($password, \PASSWORD_BCRYPT);
if ($temp === false) {
throw new \Exception('Internal password_hash error.'); // @codeCoverageIgnore