From 63d5bb1ab4e2a2f584f9b3d5beadbf8ade9912db Mon Sep 17 00:00:00 2001 From: Kowalski Date: Thu, 12 Feb 2026 10:42:54 +0100 Subject: [PATCH] =?UTF-8?q?Ru=C4=8Dn=C4=9B=20zad=C3=A1v=C3=A1t=20kl=C3=AD?= =?UTF-8?q?=C4=8D=202FA=20nebudou.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Presentation/Setup2fa/Setup2faPresenter.php | 2 +- app/Presentation/Setup2fa/default.latte | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/Presentation/Setup2fa/Setup2faPresenter.php b/app/Presentation/Setup2fa/Setup2faPresenter.php index d043302..18ec3da 100644 --- a/app/Presentation/Setup2fa/Setup2faPresenter.php +++ b/app/Presentation/Setup2fa/Setup2faPresenter.php @@ -69,7 +69,7 @@ final class Setup2faPresenter extends AppPresenter // PŘIDÁNO: Přímý odkaz pro mobilní aplikace $this->template->otpAuthUri = $this->twoFactorService->getProvisioningUri($tempSecret, $identity->username); - $this->template->secretKey = $tempSecret; + //$this->template->secretKey = $tempSecret; } protected function createComponentVerifyForm(): Form diff --git a/app/Presentation/Setup2fa/default.latte b/app/Presentation/Setup2fa/default.latte index c5669ce..e35835e 100644 --- a/app/Presentation/Setup2fa/default.latte +++ b/app/Presentation/Setup2fa/default.latte @@ -25,10 +25,7 @@ -
- Ruční klíč: - {$secretKey} -
+