From 7687c62100679f1c94bda17efda796f2c6146957 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 21 Mar 2019 19:15:42 -0700 Subject: [PATCH] Server websocket auth fixes. --- meshuser.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meshuser.js b/meshuser.js index f04ba413..d440b29a 100644 --- a/meshuser.js +++ b/meshuser.js @@ -258,7 +258,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use case 'authcookie': { // Renew the authentication cookie - try { ws.send(JSON.stringify({ action: 'authcookie', cookie: parent.parent.encodeCookie({ userid: user._id, domainid: domain.id }, parent.loginCookieEncryptionKey) })); } catch (ex) { } + try { ws.send(JSON.stringify({ action: 'authcookie', cookie: parent.parent.encodeCookie({ userid: user._id, domainid: domain.id }, parent.parent.loginCookieEncryptionKey) })); } catch (ex) { } break; } case 'serverstats': diff --git a/package.json b/package.json index 7c655902..3194ea33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.3.0-s", + "version": "0.3.0-t", "keywords": [ "Remote Management", "Intel AMT",