Updated Windows Mesh Agent.
This commit is contained in:
parent
4041bedc50
commit
cfcebbf166
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.4.5-t",
|
"version": "0.4.5-u",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
|
|
@ -1642,8 +1642,8 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
||||||
// Handle a post request on the root
|
// Handle a post request on the root
|
||||||
function handleRootPostRequest(req, res) {
|
function handleRootPostRequest(req, res) {
|
||||||
const domain = checkUserIpAddress(req, res);
|
const domain = checkUserIpAddress(req, res);
|
||||||
if (domain == null) { parent.debug('web', 'handleTermsRequest: Bad domain'); res.sendStatus(404); return; }
|
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.sendStatus(404); return; } // Check 3FA URL key
|
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);
|
parent.debug('web', 'handleRootPostRequest, action: ' + req.body.action);
|
||||||
|
|
||||||
switch (req.body.action) {
|
switch (req.body.action) {
|
||||||
|
|
Loading…
Reference in New Issue