diff --git a/agents/MeshCmd-signed.exe b/agents/MeshCmd-signed.exe index f02a6757..442021bf 100644 Binary files a/agents/MeshCmd-signed.exe and b/agents/MeshCmd-signed.exe differ diff --git a/agents/MeshCmd64-signed.exe b/agents/MeshCmd64-signed.exe index cd60f7a4..40f00a5d 100644 Binary files a/agents/MeshCmd64-signed.exe and b/agents/MeshCmd64-signed.exe differ diff --git a/agents/MeshService-signed.exe b/agents/MeshService-signed.exe index a673453b..78291fb5 100644 Binary files a/agents/MeshService-signed.exe and b/agents/MeshService-signed.exe differ diff --git a/agents/MeshService.exe b/agents/MeshService.exe index 7d375e56..8a8ef4cb 100644 Binary files a/agents/MeshService.exe and b/agents/MeshService.exe differ diff --git a/agents/MeshService64-signed.exe b/agents/MeshService64-signed.exe index b28ab917..70fbda59 100644 Binary files a/agents/MeshService64-signed.exe and b/agents/MeshService64-signed.exe differ diff --git a/agents/MeshService64.exe b/agents/MeshService64.exe index 84242095..1e63822a 100644 Binary files a/agents/MeshService64.exe and b/agents/MeshService64.exe differ diff --git a/package.json b/package.json index 4de5aec2..17d9fbec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.4.5-t", + "version": "0.4.5-u", "keywords": [ "Remote Management", "Intel AMT", diff --git a/webserver.js b/webserver.js index 5a49aec4..fa553636 100644 --- a/webserver.js +++ b/webserver.js @@ -1642,8 +1642,8 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) { // Handle a post request on the root function handleRootPostRequest(req, res) { const domain = checkUserIpAddress(req, res); - if (domain == null) { parent.debug('web', 'handleTermsRequest: Bad domain'); res.sendStatus(404); return; } - if ((domain.loginkey != null) && (domain.loginkey.indexOf(req.query.key) == -1)) { res.sendStatus(404); return; } // Check 3FA URL key + if (domain == null) { parent.debug('web', 'handleTermsRequest: Bad domain'); res.send('Not Found'); return; } + if ((domain.loginkey != null) && (domain.loginkey.indexOf(req.query.key) == -1)) { res.send('Not Found'); return; } // Check 3FA URL key parent.debug('web', 'handleRootPostRequest, action: ' + req.body.action); switch (req.body.action) {