From 947a8840d22fe3bcd48dd450a88a9196819ec4a4 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 15 Mar 2018 15:42:26 -0700 Subject: [PATCH] Fixed Linux agent install script link. --- MeshCentralServer.njsproj | 1 + meshuser.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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",