mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2025-12-26 07:56:43 +08:00
登录密码错误
This commit is contained in:
parent
28ffd7c567
commit
f2aafd15a0
@ -47,7 +47,7 @@ public class PasswordCheckManager {
|
||||
count = RedisUtil.get(checkPrefix + userNameOrMobile);
|
||||
}
|
||||
if(count > TIMES_CHECK_INPUT_PASSWORD_NUM){
|
||||
throw new YamiShopBindException("半小时内密码输入错误十次,已限制登录30分钟");
|
||||
throw new YamiShopBindException("密码输入错误十次,已限制登录30分钟");
|
||||
}
|
||||
// 半小时后失效
|
||||
RedisUtil.set(checkPrefix + userNameOrMobile,count,1800);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user