From d62222507aae87453e51c893229fd94386bc0ed7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 23 Jun 2021 23:58:50 +0200 Subject: [PATCH] set specific pwd algo --- Account/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Account/Account.php b/Account/Account.php index 7fd05619c..49ce50933 100644 --- a/Account/Account.php +++ b/Account/Account.php @@ -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