1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Agent invite image fixes.

This commit is contained in:
Ylian Saint-Hilaire 2022-02-15 10:49:52 -08:00
parent 611af0a2b1
commit 196eccf330
4 changed files with 2 additions and 8 deletions

View file

@ -7504,11 +7504,6 @@ 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))