...
|
...
|
@@ -20,6 +20,7 @@ const router = express.Router(); // eslint-disable-line |
|
|
// 兼容老的路由
|
|
|
router.get('/signin.html', login.common.beforeLogin, login.local.loginPage);
|
|
|
router.get('/reg.html', reg.index);
|
|
|
router.get('/logout.html', login.local.logout);
|
|
|
|
|
|
// 本地登录
|
|
|
router.get('/passport/login', login.common.beforeLogin, login.local.loginPage);
|
...
|
...
|
|