Socket
Socket
Sign inDemoInstall

ldap-verifyuser

Package Overview
Dependencies
33
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.2.0

6

lib/verifyUser.js

@@ -5,3 +5,3 @@ #!/usr/bin/env node

*
* Copyright (C) 2015-2016 Hendrik 'T4cC0re' Meyer
* Copyright (C) 2015-2018 Hendrik 'T4cC0re' Meyer
*

@@ -18,3 +18,3 @@ * This software may be modified and distributed under the terms

var client = require("ldapjs-hotfix")
var client = require("ldapjs")
.createClient(

@@ -58,3 +58,3 @@ {

data.valid = true;
if (Number(entry.object.lockoutTime) == 0) {
if (Number(entry.object.lockoutTime) == 0 || typeof entry.object.lockoutTime === 'undefined') {
if (config.debug) {

@@ -61,0 +61,0 @@ console.log(

{
"name": "ldap-verifyuser",
"version": "1.1.0",
"version": "1.2.0",
"description": "ldap-verifyuser is a node.js library based on ldapjs, that authenticates a user against a LDAP or AD without requiring an configured administrator account.",

@@ -25,3 +25,3 @@ "author": "Hendrik 'T4cC0re' Meyer <mail@t4cc0.re>",

"dependencies": {
"ldapjs-hotfix": "0.7.3"
"ldapjs": "^1.0.1"
},

@@ -28,0 +28,0 @@ "analyze": true,

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc