From ded7321b3ecf590246d246a68bd067d5f567a143 Mon Sep 17 00:00:00 2001 From: Stephen Rees-Carter Date: Sat, 23 Mar 2024 16:04:59 +1000 Subject: [PATCH] Introduce HASH_VERIFY env var To help solve part of the issue reported in #50627, exposing an env var to toggle hash verification avoids the need to manually implement the hashing.php file. --- config/hashing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hashing.php b/config/hashing.php index f34179a8f19a..9eb408e09eea 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -30,7 +30,7 @@ 'bcrypt' => [ 'rounds' => env('BCRYPT_ROUNDS', 12), - 'verify' => true, + 'verify' => env('HASH_VERIFY', true), ], /* @@ -48,7 +48,7 @@ 'memory' => env('ARGON_MEMORY', 65536), 'threads' => env('ARGON_THREADS', 1), 'time' => env('ARGON_TIME', 4), - 'verify' => true, + 'verify' => env('HASH_VERIFY', true), ], /*