fix: LDAP missing reqToCallback
This commit is contained in:
1 parent
0c1ab80b6d
commit
17f8071abe
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user