Browse Source

fix: LDAP missing reqToCallback

pull/2373/head
NGPixel 4 years ago
parent
commit
17f8071abe
1 changed files with 1 additions and 1 deletions
  1. 2
      server/modules/authentication/ldap/authentication.js

2
server/modules/authentication/ldap/authentication.js

@ -27,7 +27,7 @@ module.exports = {
},
usernameField: 'email',
passwordField: 'password',
passReqToCallback: false
passReqToCallback: true
}, async (req, profile, cb) => {
try {
const userId = _.get(profile, conf.mappingUID, null)

Loading…
Cancel
Save