fix bug 40368 忘记密码--用户名错误,手机号正确,验证码发送成功。
This commit is contained in:
+5
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
// 若用户名有效,则查询该账号的登陆失败次数是否符合等保要求
|
||||
|
||||
Reference in New Issue
Block a user