mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
Merge pull request #1497 from slingamn/bcrypt_cost
reduce recommended bcrypt cost to the lowest allowed value
This commit is contained in:
commit
0e311e27ee
2 changed files with 4 additions and 2 deletions
|
|
@ -372,7 +372,8 @@ accounts:
|
||||||
max-attempts: 30
|
max-attempts: 30
|
||||||
|
|
||||||
# this is the bcrypt cost we'll use for account passwords
|
# this is the bcrypt cost we'll use for account passwords
|
||||||
bcrypt-cost: 9
|
# (note that 4 is the lowest value allowed by the bcrypt library)
|
||||||
|
bcrypt-cost: 4
|
||||||
|
|
||||||
# length of time a user has to verify their account before it can be re-registered
|
# length of time a user has to verify their account before it can be re-registered
|
||||||
verify-timeout: "32h"
|
verify-timeout: "32h"
|
||||||
|
|
|
||||||
|
|
@ -344,7 +344,8 @@ accounts:
|
||||||
max-attempts: 30
|
max-attempts: 30
|
||||||
|
|
||||||
# this is the bcrypt cost we'll use for account passwords
|
# this is the bcrypt cost we'll use for account passwords
|
||||||
bcrypt-cost: 9
|
# (note that 4 is the lowest value allowed by the bcrypt library)
|
||||||
|
bcrypt-cost: 4
|
||||||
|
|
||||||
# length of time a user has to verify their account before it can be re-registered
|
# length of time a user has to verify their account before it can be re-registered
|
||||||
verify-timeout: "32h"
|
verify-timeout: "32h"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue