Skip to content

Commit

Permalink
fix: LDAP missing reqToCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Sep 5, 2020
1 parent 0c1ab80 commit 17f8071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/modules/authentication/ldap/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 17f8071

Please sign in to comment.