From 17f8071abe0eb78b33b63b2c66807a8f271dd6ad Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sat, 5 Sep 2020 15:19:18 -0400 Subject: [PATCH] fix: LDAP missing reqToCallback --- server/modules/authentication/ldap/authentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/authentication/ldap/authentication.js b/server/modules/authentication/ldap/authentication.js index 45820978..555abb40 100644 --- a/server/modules/authentication/ldap/authentication.js +++ b/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)