fix: increase max login attempts and improve two-factor token error response

This commit is contained in:
shuaiplus
2026-02-20 18:53:10 +08:00
parent b6f2882cdf
commit a83e0d259e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
rateLimit: {
// Max failed login attempts before temporary lock.
// 触发临时锁定前允许的最大登录失败次数。
loginMaxAttempts: 5,
loginMaxAttempts: 10,
// Login lock duration in minutes.
// 登录锁定时长(分钟)。
loginLockoutMinutes: 2,