|
@@ -73,8 +73,9 @@ public class OauthController {
|
|
|
String verifyKey =
|
|
|
CacheConstants.CAPTCHA_CODE_KEY + StringUtils.nvl(uuid, "");
|
|
|
String captcha = redisCache.getCacheObject(verifyKey);
|
|
|
-// if (captcha == null || !captcha.equals(code))
|
|
|
- if (false) {
|
|
|
+ if (captcha == null || !captcha.equals(code))
|
|
|
+ // if (false)
|
|
|
+ {
|
|
|
return AjaxResult.warn("验证码错误");
|
|
|
} else {
|
|
|
redisCache.deleteObject(verifyKey);
|