Commit 17f8071a authored by NGPixel's avatar NGPixel

fix: LDAP missing reqToCallback

parent 0c1ab80b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment