summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-10-06 15:48:01 +0200
committerGitHub2018-10-06 15:48:01 +0200
commit02d64cd56ad4e1f0767e2c1293341217f6bd5d97 (patch)
tree528fd1c47b3847955b97a39a22f7cc9eaa4376c6 /lib/response.js
parent32af96aa376576d060e16a2c0ff7ed5719d24e91 (diff)
parent9f9c4089be2112bfd8a55dd2cb996c811afab898 (diff)
Merge pull request #942 from SISheogorath/feature/openID
Add OpenID to CodiMD
Diffstat (limited to '')
-rw-r--r--lib/response.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/response.js b/lib/response.js
index d30f2a8d..9f1740c8 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -88,6 +88,7 @@ function showIndex (req, res, next) {
email: config.isEmailEnable,
allowEmailRegister: config.allowEmailRegister,
allowPDFExport: config.allowPDFExport,
+ openID: config.isOpenIDEnable,
signin: authStatus,
infoMessage: req.flash('info'),
errorMessage: req.flash('error'),
@@ -142,7 +143,8 @@ function responseCodiMD (res, note) {
oauth2: config.isOAuth2Enable,
email: config.isEmailEnable,
allowEmailRegister: config.allowEmailRegister,
- allowPDFExport: config.allowPDFExport
+ allowPDFExport: config.allowPDFExport,
+ openID: config.isOpenIDEnable
})
}