Merge pull request #10 from clems4ever/bugfixes

Do not display config and resolve ECONNRESET failure
This commit is contained in:
Clément Michaud 2017-01-29 15:09:42 +01:00 committed by GitHub
commit b772548e99

View File

@ -27,13 +27,15 @@ var config = {
notifier: yaml_config.notifier,
}
console.log(config);
var ldap_client = ldap.createClient({
url: config.ldap_url,
reconnect: true
});
ldap_client.on('error', function(err) {
console.error('LDAP Error:', err.message)
})
var deps = {};
deps.u2f = u2f;
deps.nedb = nedb;