密码错误次数调整为5分钟
This commit is contained in:
parent
948615f688
commit
c69eab9621
@ -29,7 +29,7 @@ public class UserAccountAuthCacheServiceImpl implements UserAccountAuthCacheServ
|
||||
}
|
||||
|
||||
String key = "ACCOUNT_LOGIN_TIME" + ZonedDateTimeAsiaRiyadhUtils.nowDateToInt() + "_" + userId;
|
||||
redisService.increment(key, 1l, 3, TimeUnit.DAYS);
|
||||
redisService.increment(key, 1l, 5, TimeUnit.MINUTES);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user