mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Merge pull request #10 from clems4ever/bugfixes
Do not display config and resolve ECONNRESET failure
This commit is contained in:
commit
b772548e99
|
@ -27,13 +27,15 @@ var config = {
|
||||||
notifier: yaml_config.notifier,
|
notifier: yaml_config.notifier,
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(config);
|
|
||||||
|
|
||||||
var ldap_client = ldap.createClient({
|
var ldap_client = ldap.createClient({
|
||||||
url: config.ldap_url,
|
url: config.ldap_url,
|
||||||
reconnect: true
|
reconnect: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ldap_client.on('error', function(err) {
|
||||||
|
console.error('LDAP Error:', err.message)
|
||||||
|
})
|
||||||
|
|
||||||
var deps = {};
|
var deps = {};
|
||||||
deps.u2f = u2f;
|
deps.u2f = u2f;
|
||||||
deps.nedb = nedb;
|
deps.nedb = nedb;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user