Server websocket auth fixes.

This commit is contained in:
Ylian Saint-Hilaire 2019-03-21 19:15:42 -07:00
parent 0de6c3937c
commit 7687c62100
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
case 'authcookie': case 'authcookie':
{ {
// Renew the authentication cookie // 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; break;
} }
case 'serverstats': case 'serverstats':

View File

@ -1,6 +1,6 @@
{ {
"name": "meshcentral", "name": "meshcentral",
"version": "0.3.0-s", "version": "0.3.0-t",
"keywords": [ "keywords": [
"Remote Management", "Remote Management",
"Intel AMT", "Intel AMT",