diff --git a/package.json b/package.json index 9a7ef93f..87ca4eed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.2.2-f", + "version": "0.2.2-g", "keywords": [ "Remote Management", "Intel AMT", diff --git a/webserver.js b/webserver.js index 1672e15d..44577c6c 100644 --- a/webserver.js +++ b/webserver.js @@ -1865,7 +1865,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) { // A default user is active func(ws, req, domain, obj.users['user/' + domain.id + '/' + obj.args.user.toLowerCase()]); return; - } else if (req.session && (req.session.userid != null) && (req.session.domainid == obj.domain.id)) { + } else if (req.session && (req.session.userid != null) && (req.session.domainid == domain.id)) { // This user is logged in using the ExpressJS session func(ws, req, domain, req.session.userid); return;