mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added feature to set custom picture for AgentInvitePage for Windows Guests in config.json. In domain-section add to change picture. Else defailt will be used. "agentInviteImagePreview": "images/winagent.png",
This commit is contained in:
parent
6500149ad0
commit
4c0123d458
3 changed files with 8 additions and 2 deletions
|
@ -7504,6 +7504,11 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
|
|||
xargs.min = minify ? '-min' : '';
|
||||
xargs.titlehtml = domain.titlehtml;
|
||||
xargs.title = (domain.title != null) ? domain.title : 'MeshCentral';
|
||||
if (domain.agentinviteimagepreview == null) {
|
||||
xargs.agentInviteImagePreview = 'images/winagent.png';
|
||||
} else {
|
||||
xargs.agentInviteImagePreview = domain.agentinviteimagepreview;
|
||||
}
|
||||
if (
|
||||
((page == 'login2') && (domain.loginpicture == null) && (domain.titlehtml == null)) ||
|
||||
((page != 'login2') && (domain.titlepicture == null) && (domain.titlehtml == null))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue