summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-01-29 15:59:27 +0100
committerGitHub2018-01-29 15:59:27 +0100
commitadc781f7e3bcc8611df8f661880258f136d15767 (patch)
treec22c7e2d048742cbe6cb3acd177ff07174e40677 /lib
parente18e05541c52908034b672a2abe79a1c51df5607 (diff)
parente44751b3f136e7a438b1379a8d865bdff6cf235e (diff)
Merge pull request #704 from SISheogorath/fix/ldapProviderName
Fix ldap provider name in template
Diffstat (limited to '')
-rw-r--r--lib/response.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/response.js b/lib/response.js
index 445aa0d7..c874ce9c 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -69,6 +69,7 @@ function showIndex (req, res, next) {
dropbox: config.isDropboxEnable,
google: config.isGoogleEnable,
ldap: config.isLDAPEnable,
+ ldapProviderName: config.ldap.providerName,
saml: config.isSAMLEnable,
email: config.isEmailEnable,
allowemailregister: config.allowemailregister,
@@ -103,6 +104,7 @@ function responseHackMD (res, note) {
dropbox: config.isDropboxEnable,
google: config.isGoogleEnable,
ldap: config.isLDAPEnable,
+ ldapProviderName: config.ldap.providerName,
saml: config.isSAMLEnable,
email: config.isEmailEnable,
allowemailregister: config.allowemailregister,