From cd73a2b3bdffbab31246052fc0a48d92b7b78f44 Mon Sep 17 00:00:00 2001 From: Anton Afanasyeu Date: Sun, 28 Jun 2026 22:55:51 +0200 Subject: [PATCH] ui: add favicon + apple-touch-icon to all auth view heads Co-authored-by: Cursor --- views/account_security.php | 2 ++ views/login.php | 2 ++ views/register.php | 2 ++ views/two_factor_approve.php | 2 ++ views/two_factor_challenge.php | 2 ++ views/verify_email.php | 2 ++ 6 files changed, 12 insertions(+) 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); })(); + +