mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-26 21:09:11 -05:00
Fixed 2FA minified login page
This commit is contained in:
parent
bc1e79c5cc
commit
5314a85aca
@ -299,8 +299,8 @@
|
|||||||
var webPageFullScreen = true;
|
var webPageFullScreen = true;
|
||||||
var nightMode = (getstore('_nightMode', '0') == '1');
|
var nightMode = (getstore('_nightMode', '0') == '1');
|
||||||
var publicKeyCredentialRequestOptions = null;
|
var publicKeyCredentialRequestOptions = null;
|
||||||
var otpemail = ('{{{otpemail}}}' === 'true');
|
var otpemail = (decodeURIComponent('{{{otpemail}}}') === 'true');
|
||||||
var otpsms = ('{{{otpsms}}}' === 'true');
|
var otpsms = (decodeURIComponent('{{{otpsms}}}') === 'true');
|
||||||
var twoFactorCookieDays = parseInt('{{{twoFactorCookieDays}}}');
|
var twoFactorCookieDays = parseInt('{{{twoFactorCookieDays}}}');
|
||||||
|
|
||||||
// Display the right server message
|
// Display the right server message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user