feat(07-02): add user session schema, throttle table, and jwt config
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,2 +1,22 @@
|
||||
jwt:
|
||||
secret: ""
|
||||
ttl: 60
|
||||
refresh_ttl: 20160
|
||||
blacklist_grace: 0
|
||||
leeway: 0
|
||||
blacklist_sweep_interval: 10m
|
||||
activation:
|
||||
require_activation: true
|
||||
activate_mode: auto
|
||||
reset_ttl_minutes: 60
|
||||
activation_ttl_hours: 72
|
||||
registration:
|
||||
allow_registration: true
|
||||
use_register_throttle: true
|
||||
throttle:
|
||||
attempt_limit: 5
|
||||
suspension_minutes: 15
|
||||
use_throttle: true
|
||||
password:
|
||||
bcrypt_cost: 10
|
||||
min_length: 8
|
||||
|
||||
Reference in New Issue
Block a user