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} -
+