mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04:00
Merge pull request #330 from Skgland/master
Pass through ldap starttls option
This commit is contained in:
commit
d2ace4b2a0
3 changed files with 6 additions and 3 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