Browse Source

Revert "Set argon defaults to prevent password_hash(): Memory cost is outside of allowed memory range on PHP 7.4 (#5094)" (#5095)

This reverts commit 86908e1eb4a6cc8f5474b1355db4c104c548619e.
Taylor Otwell 5 years ago
parent
commit
31394de4d7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      config/hashing.php

+ 3 - 3
config/hashing.php

@@ -44,9 +44,9 @@ return [
     */
 
     'argon' => [
-        'memory' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
-        'threads' => PASSWORD_ARGON2_DEFAULT_THREADS,
-        'time' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
+        'memory' => 1024,
+        'threads' => 2,
+        'time' => 2,
     ],
 
 ];