diff --git a/meshcentral-config-schema.json b/meshcentral-config-schema.json index 0a1a11e1..a556e4e5 100644 --- a/meshcentral-config-schema.json +++ b/meshcentral-config-schema.json @@ -302,7 +302,6 @@ "mobileSite": { "type": "boolean", "default": true, "description": "When set to false, this setting will disable the mobile site." }, "unknownUserRootRedirect": { "type": "string", "default": null, "description": "Redirects HTTP root requests to this URL only where user is not already logged in. When in use, direct users to /login to see the normal login page." }, "nightMode": { "type": "integer", "default": 0, "description": "0 = User selects day/night mode, 1 = Always night mode, 2 = Always day mode" }, - "agentInviteImagePreview": { "type": "string", "default": "images/winagent.png", "description": "The filename of a image file in .png format located in Meshcentral-Data to display in the MeshCentral Agent invitation page, image should be 549x393 but can be larger." }, "userQuota": { "type": "integer" }, "meshQuota": { "type": "integer" }, "loginKey": { "type": [ "string", "array" ], "items": { "type": "string" }, "default": null, "description": "Requires that users add the value ?key=xxx in the URL in order to see the web site." }, diff --git a/public/images/winagent.png b/public/images/winagent.png index 6c93073b..e68ca1f1 100644 Binary files a/public/images/winagent.png and b/public/images/winagent.png differ diff --git a/views/agentinvite.handlebars b/views/agentinvite.handlebars index 13715654..7a3adaf0 100644 --- a/views/agentinvite.handlebars +++ b/views/agentinvite.handlebars @@ -92,7 +92,7 @@

Microsoft™ Windows 64bit

Download the software here, run it and press "Install" or "Connect".

- +
@@ -100,7 +100,7 @@

Microsoft™ Windows 32bit

Download the software here, run it and press "Install" or "Connect".

- +
diff --git a/webserver.js b/webserver.js index 77e40f0f..fec5da0a 100644 --- a/webserver.js +++ b/webserver.js @@ -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))