|
@@ -84,7 +84,7 @@ public class SysLoginController {
|
|
LOGGER.info("获取验证码:"+kaptcha);
|
|
LOGGER.info("获取验证码:"+kaptcha);
|
|
System.out.println(kaptcha);
|
|
System.out.println(kaptcha);
|
|
JedisUtil.del(Constants.KAPTCHA_SESSION_KEY);
|
|
JedisUtil.del(Constants.KAPTCHA_SESSION_KEY);
|
|
- if (captcha.equalsIgnoreCase(kaptcha)) {
|
|
|
|
|
|
+ if (!captcha.equalsIgnoreCase(kaptcha)) {
|
|
return R.error("验证码不正确");
|
|
return R.error("验证码不正确");
|
|
}
|
|
}
|
|
|
|
|