Skip to content

Commit 6094c61

Browse files
committed
Remove unused LDAP option tokenSecret
#754 Signed-off-by: Felix Schäfer <felix@thegcat.net>
1 parent eb46378 commit 6094c61

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ There are some config settings you need to change in the files below.
171171
| `HMD_LDAP_URL` | `ldap://example.com` | URL of LDAP server |
172172
| `HMD_LDAP_BINDDN` | no example | bindDn for LDAP access |
173173
| `HMD_LDAP_BINDCREDENTIALS` | no example | bindCredentials for LDAP access |
174-
| `HMD_LDAP_TOKENSECRET` | `supersecretkey` | secret used for generating access/refresh tokens |
175174
| `HMD_LDAP_SEARCHBASE` | `o=users,dc=example,dc=com` | LDAP directory to begin search from |
176175
| `HMD_LDAP_SEARCHFILTER` | `(uid={{username}})` | LDAP filter to search with |
177176
| `HMD_LDAP_SEARCHATTRIBUTES` | `displayName, mail` | LDAP attributes to search with (use comma to separate) |

config.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
"url": "ldap://change_this",
7575
"bindDn": null,
7676
"bindCredentials": null,
77-
"tokenSecret": "change this",
7877
"searchBase": "change this",
7978
"searchFilter": "change this",
8079
"searchAttributes": ["change this"],

lib/config/default.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ module.exports = {
110110
url: undefined,
111111
bindDn: undefined,
112112
bindCredentials: undefined,
113-
tokenSecret: undefined,
114113
searchBase: undefined,
115114
searchFilter: undefined,
116115
searchAttributes: undefined,

lib/config/environment.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ module.exports = {
7979
url: process.env.HMD_LDAP_URL,
8080
bindDn: process.env.HMD_LDAP_BINDDN,
8181
bindCredentials: process.env.HMD_LDAP_BINDCREDENTIALS,
82-
tokenSecret: process.env.HMD_LDAP_TOKENSECRET,
8382
searchBase: process.env.HMD_LDAP_SEARCHBASE,
8483
searchFilter: process.env.HMD_LDAP_SEARCHFILTER,
8584
searchAttributes: toArrayConfig(process.env.HMD_LDAP_SEARCHATTRIBUTES),

0 commit comments

Comments
 (0)