From 24bc57700fad6bda5da98905f8f617d87be2c069 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 15 Feb 2019 20:56:15 -0700 Subject: [PATCH] Update hashing config, set custom bcrypt or argon settings --- config/hashing.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/hashing.php b/config/hashing.php index 6ea081a61..81cd9df0b 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -29,7 +29,7 @@ return [ */ 'bcrypt' => [ - 'rounds' => 10, + 'rounds' => env('BCRYPT_COST', 10), ], /* @@ -44,9 +44,9 @@ return [ */ 'argon' => [ - 'memory' => 1024, - 'threads' => 2, - 'time' => 2, + 'memory' => env('ARGON_MEM', 1024), + 'threads' => env('ARGON_THREADS', 2), + 'time' => env('ARGON_TIME', 2), ], ];