Skip to content
Snippets Groups Projects
Commit 90264f18 authored by Olivér FACKLAM's avatar Olivér FACKLAM
Browse files

correction config_passport.js

parent 507055ea
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment