From 80d4fbf806337a61149c4ee1ddbf1111312c04ce Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 14 Jul 2020 11:28:51 -0700 Subject: [PATCH] Fixed MeshCtrl.js shell login. --- meshctrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshctrl.js b/meshctrl.js index c18f6a31..da2f80f8 100644 --- a/meshctrl.js +++ b/meshctrl.js @@ -847,7 +847,7 @@ function serverConnect() { if ((args.id.split('/') != 3) && (settings.currentDomain != null)) { args.id = 'node/' + settings.currentDomain + '/' + args.id; } var id = getRandomHex(6); ws.send(JSON.stringify({ action: 'msg', nodeid: args.id, type: 'tunnel', usage: 1, value: '*/meshrelay.ashx?p=1&nodeid=' + args.id + '&id=' + id + '&rauth=' + data.rcookie, responseid: 'meshctrl' })); - connectShell(url.replace('/control.ashx', '/meshrelay.ashx?browser=1&p=1&nodeid=' + args.id + '&id=' + id + '&rauth=' + data.cookie)); + connectShell(url.replace('/control.ashx', '/meshrelay.ashx?browser=1&p=1&nodeid=' + args.id + '&id=' + id + '&auth=' + data.cookie)); } break; }