Authored by ccbikai(👎🏻🍜)

Merge branch 'hotfix/login'

... ... @@ -47,6 +47,11 @@ passport.use(new LocalStrategy({
// 国际号码验证取消
let verifyMobile = area === '86' ? helpers.verifyAreaMobile(area + '-' + username) : true;
// 999 号段为有货专用测试号段
if (username.indexOf('999') === 0) {
verifyMobile = true;
}
if (!verifyEmail && !verifyMobile) {
logger.info(`【Passport Loginbad account, email:${verifyEmail} mobile:${verifyMobile}`);
return done('登录账号格式错误', null);
... ...