解除登录验证码与密码校验
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ public class LoginServiceImpl implements ILoginService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String captcha = sysLoginModel.getCaptcha();
|
String captcha = sysLoginModel.getCaptcha();
|
||||||
if(captcha==null){
|
if(StringUtils.isBlank(captcha)){
|
||||||
return Result.error("验证码无效");
|
return Result.error("验证码无效");
|
||||||
}
|
}
|
||||||
String lowerCaseCaptcha = captcha.toLowerCase();
|
String lowerCaseCaptcha = captcha.toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user