mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
Env-ify hashing variables, setting the normal defaults
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
4c16dcf5d0
commit
68417a4c15
|
@ -175,6 +175,15 @@ REQUIRE_SAML=false
|
||||||
API_THROTTLE_PER_MINUTE=120
|
API_THROTTLE_PER_MINUTE=120
|
||||||
CSV_ESCAPE_FORMULAS=true
|
CSV_ESCAPE_FORMULAS=true
|
||||||
|
|
||||||
|
# --------------------------------------------
|
||||||
|
# OPTIONAL: HASHING
|
||||||
|
# --------------------------------------------
|
||||||
|
HASHING_DRIVER='bcrypt'
|
||||||
|
BCRYPT_ROUNDS=10
|
||||||
|
ARGON_MEMORY=1024
|
||||||
|
ARGON_THREADS=2
|
||||||
|
ARGON_TIME=2
|
||||||
|
|
||||||
# --------------------------------------------
|
# --------------------------------------------
|
||||||
# OPTIONAL: SCIM
|
# OPTIONAL: SCIM
|
||||||
# --------------------------------------------
|
# --------------------------------------------
|
||||||
|
|
|
@ -15,7 +15,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'driver' => 'bcrypt',
|
'driver' => env('HASHING_DRIVER', 'bcrypt'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -44,9 +44,9 @@ return [
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'argon' => [
|
'argon' => [
|
||||||
'memory' => 1024,
|
'memory' => env('ARGON_MEMORY', 1024),
|
||||||
'threads' => 2,
|
'threads' => env('ARGON_THREADS', 2),
|
||||||
'time' => 2,
|
'time' => env('ARGON_TIME', 2),
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue