diff --git a/lib/response.js b/lib/response.js index 445aa0d..c874ce9 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, diff --git a/public/views/shared/signin-modal.ejs b/public/views/shared/signin-modal.ejs index 7b44cfb..ce01c73 100644 --- a/public/views/shared/signin-modal.ejs +++ b/public/views/shared/signin-modal.ejs @@ -52,7 +52,7 @@