Authored by 郭成尧

del-code-note

... ... @@ -554,11 +554,9 @@ exports.loginShowCaptchaByIp = function(req, res, next) {
let firstLoginShowCaptcha = !_.get(req.app.locals.wap, 'close.firstLoginShowCaptcha', false);
if (firstLoginShowCaptcha) {
// 因撞库,每次都展示
req.yoho.captchaShow = true;
return next();
} else {
// 勿删,可能要改回来
co(function* () {
let hasErrorLog = yield cache.get(`loginErrorIp:${req.yoho.clientIp}`);
... ...