Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ldap-authentication

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ldap-authentication - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

13

index.js

@@ -11,3 +11,3 @@ const assert = require('assert')

if (error) {
reject(error.message)
reject(error)
return

@@ -17,3 +17,3 @@ }

if (err) {
reject(err.message)
reject(err)
client.unbind()

@@ -29,3 +29,3 @@ return

if (err) {
reject(err.message)
reject(err)
client.unbind()

@@ -54,3 +54,3 @@ return

if (err) {
reject(err.message)
reject(err)
ldapClient.unbind()

@@ -67,3 +67,3 @@ return

console.error('error: ' + err.message);
reject(err.message)
reject(err)
ldapClient.unbind()

@@ -73,5 +73,4 @@ });

if (result.status != 0) {
reject('search failed')
reject(new Error('ldap search status is not 0, search failed'))
} else {
//console.error('status = 0' + result);
resolve(user)

@@ -78,0 +77,0 @@ }

{
"name": "ldap-authentication",
"version": "2.1.0",
"version": "2.1.1",
"description": "A simple async nodejs library for LDAP user authentication",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc