fix bug 40368 忘记密码--用户名错误,手机号正确,验证码发送成功。

This commit is contained in:
lijiarao
2021-10-13 14:07:53 +08:00
parent 96bff44c59
commit 546a657e62
3 changed files with 12 additions and 4 deletions
@@ -103,6 +103,11 @@ public class CompanyLoginController {
//update-end-author:wangshuai date:20200601 for: 登录代码验证用户是否注销bug,if条件永远为false
if (Objects.isNull(contactsManagement)) {
throw new JeroBootException("用户名或密码错误");
}else {
if (StringUtils.isBlank(contactsManagement.getPassword())){
result.setMessage("updatePassword");
return result;
}
}
// 若用户名有效,则查询该账号的登陆失败次数是否符合等保要求