summaryrefslogtreecommitdiff
path: root/lib/config/environment.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2017-12-12 10:40:14 +0100
committerGitHub2017-12-12 10:40:14 +0100
commit454e0f8612acc949531d11cccedc52f7a3c50354 (patch)
treee9c368d4b2c48b713cd61ae04ff68651269e826a /lib/config/environment.js
parentb840c3fa5769d7cdd000d7d15d25696a404f4207 (diff)
parent17e3b8b5cdd7286899df0c5a36ec818aee3812ce (diff)
Merge pull request #650 from LukasKalbertodt/ldap-username-field
Add setting `ldap.usernameField`
Diffstat (limited to 'lib/config/environment.js')
-rw-r--r--lib/config/environment.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/config/environment.js b/lib/config/environment.js
index 45a2b0e0..27e63591 100644
--- a/lib/config/environment.js
+++ b/lib/config/environment.js
@@ -71,6 +71,7 @@ module.exports = {
searchBase: process.env.HMD_LDAP_SEARCHBASE,
searchFilter: process.env.HMD_LDAP_SEARCHFILTER,
searchAttributes: toArrayConfig(process.env.HMD_LDAP_SEARCHATTRIBUTES),
+ usernameField: process.env.HMD_LDAP_USERNAMEFIELD,
tlsca: process.env.HMD_LDAP_TLS_CA
},
saml: {