diff --git a/MeshCentralServer.njsproj b/MeshCentralServer.njsproj index a006dcc6..bc0ed0d2 100644 --- a/MeshCentralServer.njsproj +++ b/MeshCentralServer.njsproj @@ -76,6 +76,7 @@ + diff --git a/meshuser.js b/meshuser.js index fa842e5b..9b50934a 100644 --- a/meshuser.js +++ b/meshuser.js @@ -932,7 +932,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain) { // Build server information object var serverinfo = { name: obj.parent.certificates.CommonName, mpsname: obj.parent.certificates.AmtMpsName, mpsport: mpsport, mpspass: obj.args.mpspass, port: httpport, emailcheck: obj.parent.parent.mailserver != null } - if (obj.args.notls != true) { serverinfo.https = false; } else { serverinfo.https = true; serverinfo.redirport = obj.args.redirport; } + if (obj.args.notls == true) { serverinfo.https = false; } else { serverinfo.https = true; serverinfo.redirport = obj.args.redirport; } // Send server information ws.send(JSON.stringify({ action: 'serverinfo', serverinfo: serverinfo })); diff --git a/package.json b/package.json index c1c66b2e..35434dcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.1.5-c", + "version": "0.1.5-d", "keywords": [ "Remote Management", "Intel AMT",