feat: harden account security flows
This commit is contained in:
@@ -33,6 +33,8 @@ RESEND_FROM_EMAIL=no-reply@waternetwork.cn
|
||||
EMAIL_CODE_MINUTES=10
|
||||
EMAIL_CODE_RESEND_SECONDS=60
|
||||
EMAIL_CODE_MAX_ATTEMPTS=5
|
||||
# 邮箱验证码通过后,用于改密和找回密码的短时授权(分钟)。
|
||||
FRESH_AUTH_MINUTES=5
|
||||
# 受信设备的有效期(天)。
|
||||
TRUSTED_DEVICE_DAYS=30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user