支持配置密码最大错误次数/锁定时间
This commit is contained in:
@ -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:";
|
||||
}
|
||||
|
Reference in New Issue
Block a user