mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04:00
Pass through ldap starttls option
Fixing Issue #329 (cherry picked from commit b9169eb279020f21b372a843a83c71929fb6fd1d) Signed-off-by: Bennet Bleßmann <bb-github@t-online.de>
This commit is contained in:
parent
301ab04839
commit
5fad6a25a8
2 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,8 @@ passport.use(new LDAPStrategy({
|
|||
searchBase: config.ldap.searchBase || null,
|
||||
searchFilter: config.ldap.searchFilter || null,
|
||||
searchAttributes: config.ldap.searchAttributes || null,
|
||||
tlsOptions: config.ldap.tlsOptions || null
|
||||
tlsOptions: config.ldap.tlsOptions || null,
|
||||
starttls: config.ldap.starttls || null
|
||||
}
|
||||
}, function (user, done) {
|
||||
var uuid = user.uidNumber || user.uid || user.sAMAccountName || undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue