Server websocket auth fixes.

Ylian Saint-Hilaire committed Mar 21, 2019 at 19:15 UTC 1f77f70155b7957c43866090cab7927591cdf674
2 files changed +2 -2
meshuser.js
+1 -1
@@ -258,7 +258,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
258 case 'authcookie':
259 {
260 // Renew the authentication cookie
261 - try { ws.send(JSON.stringify({ action: 'authcookie', cookie: parent.parent.encodeCookie({ userid: user._id, domainid: domain.id }, parent.loginCookieEncryptionKey) })); } catch (ex) { }
261 + try { ws.send(JSON.stringify({ action: 'authcookie', cookie: parent.parent.encodeCookie({ userid: user._id, domainid: domain.id }, parent.parent.loginCookieEncryptionKey) })); } catch (ex) { }
262 break;
263 }
264 case 'serverstats':
package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "meshcentral",
3 - "version": "0.3.0-s",
3 + "version": "0.3.0-t",
4 "keywords": [
5 "Remote Management",
6 "Intel AMT",