mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-21 01:10:39 +08:00
第三方登录回调后登陆系统用户逻辑基本完成
This commit is contained in:
@@ -63,6 +63,14 @@ router.get('/register', function (req, res) {
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/callback/:platform', function (req, res) {
|
||||
// 第三方登录回调页面
|
||||
res.render('callback', {
|
||||
title: getPageTitle("正在跳转"),
|
||||
platform: req.params.platform
|
||||
});
|
||||
});
|
||||
|
||||
router.get('/dashboard/:group/:page', function (req, res) {
|
||||
var navbarLinks = null;
|
||||
if (req.params.group === "admin") {
|
||||
|
Reference in New Issue
Block a user