mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-10 06:08:34 +02:00
28 lines
1.2 KiB
HTML
28 lines
1.2 KiB
HTML
|
<div class="modal fade">
|
||
|
<div class="modal-dialog">
|
||
|
<div class="modal-content">
|
||
|
<div class="modal-header">
|
||
|
<h2 class="modal-title">
|
||
|
{{'twoStepLogin' | i18n}}
|
||
|
<small>{{'recoveryCodeTitle' | i18n}}</small>
|
||
|
</h2>
|
||
|
<button type="button" class="close" data-dismiss="modal" attr.aria-label="{{'close' | i18n}}">
|
||
|
<span aria-hidden="true">×</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
<app-two-factor-verify [type]="-1" (onAuthed)="auth($event)" *ngIf="!authed">
|
||
|
</app-two-factor-verify>
|
||
|
<ng-container *ngIf="authed">
|
||
|
<div class="modal-body text-center">
|
||
|
<p>{{'twoFactorRecoveryYourCode' | i18n}}:</p>
|
||
|
<code>{{code}}</code>
|
||
|
</div>
|
||
|
<div class="modal-footer">
|
||
|
<button appBlurClick type="button" class="btn btn-primary" (click)="print()">{{'printCode' | i18n}}</button>
|
||
|
<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">{{'close' | i18n}}</button>
|
||
|
</div>
|
||
|
</ng-container>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|