mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-09-11 08:55:32 +03:00
Updated MeshCentral Router.
This commit is contained in:
parent
c1b3323802
commit
3d84509d33
Binary file not shown.
@ -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}}}');
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user