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:
Patrick Heppler 2019-09-06 14:16:32 +02:00 committed by Taylor Otwell
parent 65959b25bf
commit 86908e1eb4
1 changed files with 3 additions and 3 deletions

View File

@ -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,
],
];