mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-12 21:05:29 +00: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
|
@ -134,7 +134,8 @@ module.exports = {
|
|||
searchAttributes: undefined,
|
||||
usernameField: undefined,
|
||||
useridField: undefined,
|
||||
tlsca: undefined
|
||||
tlsca: undefined,
|
||||
starttls: undefined
|
||||
},
|
||||
saml: {
|
||||
idpSsoUrl: undefined,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -137,7 +137,8 @@
|
|||
"resolutions": {
|
||||
"**/tough-cookie": "~2.4.0",
|
||||
"**/minimatch": "^3.0.2",
|
||||
"**/request": "^2.88.0"
|
||||
"**/request": "^2.88.0",
|
||||
"**/ldapauth-fork": "^4.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.x"
|
||||
|
|
Loading…
Add table
Reference in a new issue