Authored by htoooth

remove lib

... ... @@ -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') {
... ...
... ... @@ -110,13 +110,6 @@ const common = {
const local = {
loginPage: (req, res) => {
// 测试用
req.app.locals.pc = _.merge(req.app.locals.pc, {
geetest: {
validation: false
}
});
// 清除cookie
res.clearCookie('_UID', {
domain: config.cookieDomain
... ...