Socket
Socket
Sign inDemoInstall

sinopia-ldap

Package Overview
Dependencies
23
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.3 to 0.5.0

12

index.js

@@ -20,3 +20,2 @@ var crypto = require('crypto')

self._config.groupNameAttribute = self._config.groupNameAttribute || 'cn'
self._ldap = new LdapAuth(self._config.client_options)

@@ -31,4 +30,5 @@ return self

var self = this
var LdapClient = new LdapAuth(self._config.client_options)
self._ldap.authenticate(user, password, function(err, ldap_user) {
LdapClient.authenticate(user, password, function(err, ldap_user) {
if (err) {

@@ -57,2 +57,10 @@ // 'No such user' is reported via error

})
LdapClient.close(function(err) {
if (err) {
self._logger.warn({
err: err
}, 'LDAP error on close @{err}')
}
})
}

2

package.json
{
"name" : "sinopia-ldap",
"version" : "0.4.3",
"version" : "0.5.0",
"description" : "LDAP auth plugin for sinopia",

@@ -5,0 +5,0 @@

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