Set argon defaults to prevent password_hash(): Memory cost is outside of allowed memory range on PHP 7.4 (#5094)
With the values ```` 'argon' => [ 'memory' => 1024, 'threads' => 2, 'time' => 2, ], ``` Hash::make() produces password_hash(): Memory cost is outside of allowed memory range on PHP 7.4
This commit is contained in:
parent
65959b25bf
commit
86908e1eb4
|
@ -44,9 +44,9 @@
|
|||
*/
|
||||
|
||||
'argon' => [
|
||||
'memory' => 1024,
|
||||
'threads' => 2,
|
||||
'time' => 2,
|
||||
'memory' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
|
||||
'threads' => PASSWORD_ARGON2_DEFAULT_THREADS,
|
||||
'time' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
|
||||
],
|
||||
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue