Updated MeshCentral Router.

This commit is contained in:
Ylian Saint-Hilaire 2021-05-10 12:19:53 -07:00
parent c1b3323802
commit 3d84509d33
3 changed files with 7 additions and 0 deletions

Binary file not shown.

View File

@ -338,6 +338,7 @@
</div>
<script>
'use strict';
var welcomePictureFullScreen = (decodeURIComponent('{{{welcomePictureFullScreen}}}') === 'true');
var passlogin = '{{{passlogin}}}';
var passhint = '{{{passhint}}}';
var loginMode = '{{{loginmode}}}';
@ -365,6 +366,11 @@
QV('welcomeTextRow', welcomeText != '');
QH('welcomeText', welcomeText);
// Change the background image to full screen
if (welcomePictureFullScreen) {
}
// Display the right server message
var i;
var messageid = parseInt('{{{messageid}}}');

View File

@ -2859,6 +2859,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
messageid: msgid,
passhint: passhint,
welcometext: domain.welcometext ? encodeURIComponent(domain.welcometext).split('\'').join('\\\'') : null,
welcomePictureFullScreen: ((typeof domain.welcomepicturefullscreen == 'boolean') ? domain.welcomepicturefullscreen : false),
hwstate: hwstate,
otpemail: otpemail,
otpsms: otpsms,