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>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
'use strict';
|
'use strict';
|
||||||
|
var welcomePictureFullScreen = (decodeURIComponent('{{{welcomePictureFullScreen}}}') === 'true');
|
||||||
var passlogin = '{{{passlogin}}}';
|
var passlogin = '{{{passlogin}}}';
|
||||||
var passhint = '{{{passhint}}}';
|
var passhint = '{{{passhint}}}';
|
||||||
var loginMode = '{{{loginmode}}}';
|
var loginMode = '{{{loginmode}}}';
|
||||||
@ -365,6 +366,11 @@
|
|||||||
QV('welcomeTextRow', welcomeText != '');
|
QV('welcomeTextRow', welcomeText != '');
|
||||||
QH('welcomeText', welcomeText);
|
QH('welcomeText', welcomeText);
|
||||||
|
|
||||||
|
// Change the background image to full screen
|
||||||
|
if (welcomePictureFullScreen) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// Display the right server message
|
// Display the right server message
|
||||||
var i;
|
var i;
|
||||||
var messageid = parseInt('{{{messageid}}}');
|
var messageid = parseInt('{{{messageid}}}');
|
||||||
|
@ -2859,6 +2859,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||||||
messageid: msgid,
|
messageid: msgid,
|
||||||
passhint: passhint,
|
passhint: passhint,
|
||||||
welcometext: domain.welcometext ? encodeURIComponent(domain.welcometext).split('\'').join('\\\'') : null,
|
welcometext: domain.welcometext ? encodeURIComponent(domain.welcometext).split('\'').join('\\\'') : null,
|
||||||
|
welcomePictureFullScreen: ((typeof domain.welcomepicturefullscreen == 'boolean') ? domain.welcomepicturefullscreen : false),
|
||||||
hwstate: hwstate,
|
hwstate: hwstate,
|
||||||
otpemail: otpemail,
|
otpemail: otpemail,
|
||||||
otpsms: otpsms,
|
otpsms: otpsms,
|
||||||
|
Loading…
Reference in New Issue
Block a user