Skip to content

Commit eb6fc3c

Browse files
authored
Introduce HASH_VERIFY env var (#50718)
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.
1 parent fc453b9 commit eb6fc3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/hashing.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
'bcrypt' => [
3232
'rounds' => env('BCRYPT_ROUNDS', 12),
33-
'verify' => true,
33+
'verify' => env('HASH_VERIFY', true),
3434
],
3535

3636
/*
@@ -48,7 +48,7 @@
4848
'memory' => env('ARGON_MEMORY', 65536),
4949
'threads' => env('ARGON_THREADS', 1),
5050
'time' => env('ARGON_TIME', 4),
51-
'verify' => true,
51+
'verify' => env('HASH_VERIFY', true),
5252
],
5353

5454
/*

0 commit comments

Comments
 (0)