mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
修复用户忘记密码bug
This commit is contained in:
@@ -392,8 +392,7 @@ public class LoginServiceImpl implements ILoginService {
|
||||
}
|
||||
|
||||
// 删除验证码
|
||||
int noticeTpe = NoticeEnum.SMS_FORGOT_PASSWORD_CODE.getCode();
|
||||
RedisUtil.del(GlobalConfig.redisSmsCode+noticeTpe+":"+mobile);
|
||||
RedisUtil.del(GlobalConfig.redisSmsCode+typeCode+":"+mobile);
|
||||
|
||||
// 查询手机号
|
||||
User user = userMapper.selectOne(new QueryWrapper<User>()
|
||||
|
||||
Reference in New Issue
Block a user