...
|
...
|
@@ -33,11 +33,11 @@ router.get('/emailback.html', back.indexEmailPage); |
|
|
router.get('/passport/signout/index', login.local.logout);
|
|
|
|
|
|
// 登录页面
|
|
|
router.get('/passport/login', login.local.loginPage);
|
|
|
router.get('/passport/international', login.common.beforeLogin, login.local.international);
|
|
|
// router.get('/passport/login', login.local.loginPage);
|
|
|
// router.get('/passport/international', login.common.beforeLogin, login.local.international);
|
|
|
|
|
|
// 本地登录
|
|
|
router.post('/passport/login/auth', login.local.login);
|
|
|
// router.post('/passport/login/auth', login.local.login);
|
|
|
|
|
|
// SMS 短信
|
|
|
router.use('/passport/sms_login', login.common.beforeLogin, smsLogin.beforeIn);
|
...
|
...
|
|