Showing
1 changed file
with
2 additions
and
0 deletions
@@ -553,6 +553,8 @@ exports.loginShowCaptchaByIp = function(req, res, next) { | @@ -553,6 +553,8 @@ exports.loginShowCaptchaByIp = function(req, res, next) { | ||
553 | // 第一次登录要不要展示验证码:后台开关勾选,首次登录不需要展示 | 553 | // 第一次登录要不要展示验证码:后台开关勾选,首次登录不需要展示 |
554 | let firstLoginShowCaptcha = !_.get(req.app.locals.wap, 'close.firstLoginShowCaptcha', false); | 554 | let firstLoginShowCaptcha = !_.get(req.app.locals.wap, 'close.firstLoginShowCaptcha', false); |
555 | 555 | ||
556 | + log.info(`firstLoginShowCaptcha status is ${firstLoginShowCaptcha}`); | ||
557 | + | ||
556 | if (firstLoginShowCaptcha) { | 558 | if (firstLoginShowCaptcha) { |
557 | req.yoho.captchaShow = true; | 559 | req.yoho.captchaShow = true; |
558 | return next(); | 560 | return next(); |
-
Please register or login to post a comment