fix bug 40628 登录--手机验证码登录--点击验证码后随意填写六位数字--可登录系统

This commit is contained in:
lijiarao
2021-10-14 13:52:48 +08:00
parent abca0ecbe0
commit 187f206e4e
@@ -192,7 +192,7 @@ public class CompanyLoginController {
return result;
}
Object checkCode = redisUtil.get("_verification:_phone:" + phone);
if (checkCode == null) {
if (checkCode == null || !Objects.equals(checkCode,captcha)) {
result.error500("验证码错误");
return result;
} else {