支持配置密码最大错误次数/锁定时间

This commit is contained in:
RuoYi
2022-07-30 14:01:38 +08:00
parent 250c5ba226
commit aee5d417ed
10 changed files with 184 additions and 3 deletions

View File

@ -36,4 +36,9 @@ public class CacheConstants
* 限流 redis key
*/
public static final String RATE_LIMIT_KEY = "rate_limit:";
/**
* 登录账户密码错误次数 redis key
*/
public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";
}