...
|
...
|
@@ -19,10 +19,15 @@ const smsLogin = require(cRoot + '/sms'); |
|
|
const update = require(cRoot + '/update');
|
|
|
const agreement = require(cRoot + '/app-agreement');
|
|
|
|
|
|
const geetest = require(cRoot + '/geetest');
|
|
|
|
|
|
const router = express.Router(); // eslint-disable-line
|
|
|
|
|
|
router.get('/passport/geetest/register', geetest.register);
|
|
|
|
|
|
// 兼容老的路由
|
|
|
router.get('/signin.html', login.common.beforeLogin, login.local.loginPage);
|
|
|
|
|
|
// router.get('/signin.html', login.common.beforeLogin, smsLogin.loginPage);
|
|
|
router.get('/reg.html', disableBFCahce, reg.index);
|
|
|
router.get('/login.html', login.common.beforeLogin, login.local.international);
|
...
|
...
|
@@ -34,6 +39,8 @@ router.get('/passport/signout/index', login.local.logout); |
|
|
|
|
|
// 登录页面
|
|
|
router.get('/passport/login', login.common.beforeLogin, login.local.loginPage);
|
|
|
|
|
|
|
|
|
router.get('/passport/international', login.common.beforeLogin, login.local.international);
|
|
|
|
|
|
// 本地登录
|
...
|
...
|
|