...
|
...
|
@@ -130,12 +130,6 @@ const checkAPI = (req, res) => { |
|
|
};
|
|
|
|
|
|
const required = (req, res, next) => {
|
|
|
req.app.locals.pc = _.merge(req.app.locals.pc, {
|
|
|
geetest: {
|
|
|
validation: false
|
|
|
}
|
|
|
});
|
|
|
|
|
|
let captchaAPI = _.get(req.app.locals.pc, 'geetest.validation', false) ? gtestCaptcha.requiredAPI : requiredAPI;
|
|
|
|
|
|
if (req.body.loginType === 'password') {
|
...
|
...
|
|