fix bug 40628 登录--手机验证码登录--点击验证码后随意填写六位数字--可登录系统
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user