Showing
1 changed file
with
2 additions
and
2 deletions
@@ -30,9 +30,9 @@ let captchaReq = new models.DescribeCaptchaResultRequest(); | @@ -30,9 +30,9 @@ let captchaReq = new models.DescribeCaptchaResultRequest(); | ||
30 | */ | 30 | */ |
31 | module.exports = function(req, res, next) { | 31 | module.exports = function(req, res, next) { |
32 | 32 | ||
33 | - const isClosedCaptcha = _.get(req.app.locals.wap, 'ufo.coupon', false); | 33 | + const isOpenCaptcha = _.get(req.app.locals.wap, 'ufo.coupon', false); |
34 | 34 | ||
35 | - if (isClosedCaptcha) { | 35 | + if (!isOpenCaptcha) { |
36 | return next(); | 36 | return next(); |
37 | } | 37 | } |
38 | 38 |
-
Please register or login to post a comment