summaryrefslogtreecommitdiff
path: root/lib/config/environment.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-03-03 23:56:01 +0100
committerGitHub2018-03-03 23:56:01 +0100
commit96c9096d508813b76e87509d23d3497eed90a1c2 (patch)
tree1dc2228372e95de7f84ea9d8e6cc6b3453f34906 /lib/config/environment.js
parentb0ce3d0230a104fe6e4e136f8ecb57a87c6d264b (diff)
parentd6ee10d17645bed82ad39276fb4c26705edbacf9 (diff)
Merge pull request #750 from fooker/master
Use ldap.usernameField over hardcoded uid fields
Diffstat (limited to '')
-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 640f9e07..754f97d1 100644
--- a/lib/config/environment.js
+++ b/lib/config/environment.js
@@ -84,6 +84,7 @@ module.exports = {
searchFilter: process.env.HMD_LDAP_SEARCHFILTER,
searchAttributes: toArrayConfig(process.env.HMD_LDAP_SEARCHATTRIBUTES),
usernameField: process.env.HMD_LDAP_USERNAMEFIELD,
+ useridField: process.env.HMD_LDAP_USERIDFIELD,
tlsca: process.env.HMD_LDAP_TLS_CA
},
saml: {