Fixed 2FA minified login page

This commit is contained in:
Ylian Saint-Hilaire 2020-05-01 00:08:53 -07:00
parent fddc784fb0
commit b3e5912803
1 changed files with 2 additions and 2 deletions

View File

@ -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