mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixing realname in notification for terminal sessions (#5928)
This commit is contained in:
parent
4f11d7fdbc
commit
4027ee1b28
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue