diff --git a/agents/meshcore.js b/agents/meshcore.js index 07759f39..087b88c9 100644 --- a/agents/meshcore.js +++ b/agents/meshcore.js @@ -2391,7 +2391,7 @@ function terminal_promise_connection_resolved(term) if (this.ws.httprequest.consent && (this.ws.httprequest.consent & 2)) { // User Notifications is required - var notifyMessage = currentTranslation['terminalNotify'].replace('{0}', this.ws.httprequest.username); + var notifyMessage = currentTranslation['terminalNotify'].replace('{0}', this.ws.httprequest.realname ? this.ws.httprequest.realname : this.ws.httprequest.username); var notifyTitle = "MeshCentral"; if (this.ws.httprequest.soptions != null) { diff --git a/meshuser.js b/meshuser.js index ea353846..a2d46841 100644 --- a/meshuser.js +++ b/meshuser.js @@ -84,7 +84,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use const PROTOCOL_WEBVNC = 204; // MeshCentral Satellite - const SATELLITE_PRESENT = 1; // This session is a MeshCentral Salellite session + const SATELLITE_PRESENT = 1; // This session is a MeshCentral Satellite session const SATELLITE_802_1x = 2; // This session supports 802.1x profile checking and creation // Events