Ručně zadávát klíč 2FA nebudou.

main
Kowalski 2026-02-12 10:42:54 +01:00
parent f935a8a905
commit 63d5bb1ab4
2 changed files with 2 additions and 5 deletions

View File

@ -69,7 +69,7 @@ final class Setup2faPresenter extends AppPresenter
// PŘIDÁNO: Přímý odkaz pro mobilní aplikace // PŘIDÁNO: Přímý odkaz pro mobilní aplikace
$this->template->otpAuthUri = $this->twoFactorService->getProvisioningUri($tempSecret, $identity->username); $this->template->otpAuthUri = $this->twoFactorService->getProvisioningUri($tempSecret, $identity->username);
$this->template->secretKey = $tempSecret; //$this->template->secretKey = $tempSecret;
} }
protected function createComponentVerifyForm(): Form protected function createComponentVerifyForm(): Form

View File

@ -25,10 +25,7 @@
</a> </a>
</div> </div>
<div class="alert alert-secondary py-2">
<small class="d-block text-uppercase fw-bold text-muted" style="font-size: 0.7rem;">Ruční klíč:</small>
<code class="user-select-all">{$secretKey}</code>
</div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">