diff --git a/views/account_security.php b/views/account_security.php index 0978b9d..54a19c2 100644 --- a/views/account_security.php +++ b/views/account_security.php @@ -19,6 +19,8 @@ $qrUrl = $otpUri !== '' ? AuthTotp::qrImageUrl($otpUri) : ''; if (l === 'en' || l === 'ru') document.documentElement.setAttribute('lang', l); })(); + + diff --git a/views/login.php b/views/login.php index ddc7932..532bede 100644 --- a/views/login.php +++ b/views/login.php @@ -27,6 +27,8 @@ $auth = Auth::authUrl(); if (l === 'en' || l === 'ru') document.documentElement.setAttribute('lang', l); })(); + + diff --git a/views/register.php b/views/register.php index 100252b..e79905b 100644 --- a/views/register.php +++ b/views/register.php @@ -16,6 +16,8 @@ $auth = Auth::authUrl(); if (l === 'en' || l === 'ru') document.documentElement.setAttribute('lang', l); })(); + + diff --git a/views/two_factor_approve.php b/views/two_factor_approve.php index 2471c9d..e3a35c0 100644 --- a/views/two_factor_approve.php +++ b/views/two_factor_approve.php @@ -16,6 +16,8 @@ $rawToken = trim($_GET['token'] ?? $_POST['token'] ?? ''); if (t === 'light' || t === 'dark') document.documentElement.setAttribute('data-theme', t); })(); + + diff --git a/views/two_factor_challenge.php b/views/two_factor_challenge.php index e81344f..af17cd7 100644 --- a/views/two_factor_challenge.php +++ b/views/two_factor_challenge.php @@ -17,6 +17,8 @@ $twofaQr = AuthTwoFactorPage::qrPayload(); if (l === 'en' || l === 'ru') document.documentElement.setAttribute('lang', l); })(); + +