mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 20:09:41 +01: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
@ -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…
Reference in New Issue
Block a user