You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP →

passport-ldapjs

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-ldapjs - npm Package Compare versions

Comparing version

to
1.0.3

@@ -70,4 +70,6 @@ /**

// Bind to LDAP server
var dn = this.options.uidTag + '=' + username + ',' + this.options.base;
client.bind(dn, password, function(err) {
var bindUser = this.options.bindUser || username;
var bindPassword = this.options.bindPassword || password;
var dn = this.options.uidTag + '=' + bindUser + ',' + this.options.base;
client.bind(dn, bindPassword, function(err) {
if (err) {

@@ -74,0 +76,0 @@ // Invalid credentials / user not found are not errors but login failures

{
"name": "passport-ldapjs",
"version": "1.0.2",
"version": "1.0.3",
"description": "NodeJS Passport LDAP authentication using ldapjs",

@@ -5,0 +5,0 @@ "main": "./lib",