Authored by yyq

Merge branch 'feature/force-bind2' into release/6.5

... ... @@ -23,7 +23,7 @@ function required(req, res, next) {
};
req.session.captcha = captcha;
req.app.locals.captcha = captcha;
res.app.locals.captcha = captcha;
}
next();
}).catch(next);
... ... @@ -62,7 +62,7 @@ const geeOnly = function(req, res, next) {
};
req.session.captcha = captcha;
req.app.locals.captcha = captcha;
res.app.locals.captcha = captcha;
next();
};
... ...