Authored by 周少峰

login

... ... @@ -70,6 +70,7 @@ passport.use('local', new LocalStrategy({
<a href="${helpers.urlFormat('/passport/back/index')}" target="_blank">找回登陆密码</a>!`
});
}
// 再次校验
if (errLoginTimes >= 1) {
req.session.type = 'needCaptcha';
... ...