From 6094c618717bd11793be9f7bd79b8708fac5870f Mon Sep 17 00:00:00 2001 From: Felix Schäfer Date: Mon, 5 Mar 2018 14:00:55 +0100 Subject: Remove unused LDAP option `tokenSecret` hackmdio/hackmd#754 Signed-off-by: Felix Schäfer --- lib/config/default.js | 1 - lib/config/environment.js | 1 - 2 files changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/config/default.js b/lib/config/default.js index 5c5ebf31..06e887f4 100644 --- a/lib/config/default.js +++ b/lib/config/default.js @@ -110,7 +110,6 @@ module.exports = { url: undefined, bindDn: undefined, bindCredentials: undefined, - tokenSecret: undefined, searchBase: undefined, searchFilter: undefined, searchAttributes: undefined, diff --git a/lib/config/environment.js b/lib/config/environment.js index 754f97d1..b83c67e5 100644 --- a/lib/config/environment.js +++ b/lib/config/environment.js @@ -79,7 +79,6 @@ module.exports = { url: process.env.HMD_LDAP_URL, bindDn: process.env.HMD_LDAP_BINDDN, bindCredentials: process.env.HMD_LDAP_BINDCREDENTIALS, - tokenSecret: process.env.HMD_LDAP_TOKENSECRET, searchBase: process.env.HMD_LDAP_SEARCHBASE, searchFilter: process.env.HMD_LDAP_SEARCHFILTER, searchAttributes: toArrayConfig(process.env.HMD_LDAP_SEARCHATTRIBUTES), -- cgit v1.2.3