node-red-auth-contrib-ldap
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -8,2 +8,3 @@ var when = require("when"); | ||
config = _config; | ||
return this; | ||
}, | ||
@@ -10,0 +11,0 @@ type: "credentials", |
{ | ||
"name": "node-red-auth-contrib-ldap", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "LDAP authentication module for Node-RED", | ||
@@ -5,0 +5,0 @@ "main": "ldap.js", |
@@ -9,12 +9,8 @@ # node-red-auth-contrib-ldap | ||
``` | ||
var config = { | ||
url: "ldap://<hostname>:389", | ||
dn: "uid=%username%,ou=people,o=example,c=jp" | ||
}; | ||
var ldap = require("node-red-auth-contrib-ldap"); | ||
ldap.init(config); | ||
module.exports = { | ||
... | ||
adminAuth: ldap, | ||
adminAuth: require("node-red-auth-contrib-ldap").init({ | ||
url: "ldap://<hostname>:389", | ||
dn: "uid=%username%,ou=people,o=example,c=jp" | ||
}), | ||
... | ||
@@ -21,0 +17,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37
2405
25