diff --git a/controller/site.js b/controller/site.js index 6fcc1e8..e6d9aea 100644 --- a/controller/site.js +++ b/controller/site.js @@ -13,6 +13,7 @@ exports.login = function(req, res, next) { req.session.oauth2 = { loginUrl: req.body.login_url, clientId: req.body.client_id, + clientSecret: req.body.client_secret, redirectUri: req.body.redirect_uri } diff --git a/views/template/header.html b/views/template/header.html index ff08461..08573b9 100644 --- a/views/template/header.html +++ b/views/template/header.html @@ -88,6 +88,9 @@ + +