diff --git a/src/config_passport.js b/src/config_passport.js index e78ea39d9c59eaeb7b8062058c766982791610d1..342634e2e6dfef1084da804c23c1737f0121495d 100644 --- a/src/config_passport.js +++ b/src/config_passport.js @@ -48,8 +48,8 @@ passport.use(new LdapStrategy({ //tlsOptions: '..........', //https://www.npmjs.com/package/passport-ldapauth for more }, - usernameField: ldapConfig.user.uid, - passwordField: ldapConfig.user.password, + //usernameField: 'username', // Field name where the username is found, defaults to username + //passwordField: 'password', // Field name where the password is found, defaults to password // no verify callback is needed, as we leave the authentication layer as simple as possible // we leave this, commented out, as a template for future use