mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 15:15:53 -05:00
Fixing realname in notification for terminal sessions (#5928)
This commit is contained in:
parent
4f11d7fdbc
commit
4027ee1b28
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user