mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update hashing config, set custom bcrypt or argon settings
This commit is contained in:
parent
da0b3b5f1c
commit
24bc57700f
1 changed files with 4 additions and 4 deletions
|
@ -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),
|
||||
],
|
||||
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue