소스 검색

fix: LDAP missing reqToCallback

NGPixel 4 년 전
부모
커밋
17f8071abe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      server/modules/authentication/ldap/authentication.js

+ 1 - 1
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)