mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-14 12:01:52 +00:00
Removed console.log line.
This commit is contained in:
parent
d92e8eee11
commit
629a6f4c92
1 changed files with 0 additions and 2 deletions
|
@ -342,8 +342,6 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
// Authenticate the user
|
||||
obj.authenticate = function (name, pass, domain, fn) {
|
||||
if ((typeof (name) != 'string') || (typeof (pass) != 'string') || (typeof (domain) != 'object')) { fn(new Error('invalid fields')); return; }
|
||||
if (!module.parent) console.log('authenticating %s:%s:%s', domain.id, name, pass);
|
||||
|
||||
if (domain.auth == 'ldap') {
|
||||
if (domain.ldapoptions.url == 'test') {
|
||||
// Fake LDAP login
|
||||
|
|
Loading…
Reference in a new issue