Ručně zadávát klíč 2FA nebudou.
parent
f935a8a905
commit
63d5bb1ab4
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -25,10 +25,7 @@
|
|||
</a>
|
||||
</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 class="col-md-6">
|
||||
|
|
|
|||
Loading…
Reference in New Issue