Skip to content

Commit

Permalink
Introduce HASH_VERIFY env var
Browse files Browse the repository at this point in the history
To help solve part of the issue reported in laravel#50627, exposing an env var
to toggle hash verification avoids the need to manually implement the
hashing.php file.
  • Loading branch information
valorin committed Mar 23, 2024
1 parent fc453b9 commit ded7321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/hashing.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

'bcrypt' => [
'rounds' => env('BCRYPT_ROUNDS', 12),
'verify' => true,
'verify' => env('HASH_VERIFY', true),
],

/*
Expand All @@ -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),
],

/*
Expand Down

0 comments on commit ded7321

Please sign in to comment.