mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 14:34:02 +00:00
* PM-4951 Migrate Recover Two Factor Component * PM-4951 Addressed review comments * PM-4951 Addressed review comments * update route * add type safety to data properties --------- Co-authored-by: rr-bw <102181210+rr-bw@users.noreply.github.com>
41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
|
<p bitTypography="body1">
|
|
{{ "recoverAccountTwoStepDesc" | i18n }}
|
|
<a
|
|
bitLink
|
|
href="https://bitwarden.com/help/lost-two-step-device/"
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
>{{ "learnMore" | i18n }}</a
|
|
>
|
|
</p>
|
|
<bit-form-field>
|
|
<bit-label>{{ "emailAddress" | i18n }}</bit-label>
|
|
<input
|
|
bitInput
|
|
type="text"
|
|
formControlName="email"
|
|
appAutofocus
|
|
inputmode="email"
|
|
appInputVerbatim="false"
|
|
/>
|
|
</bit-form-field>
|
|
<bit-form-field>
|
|
<bit-label>{{ "masterPass" | i18n }}</bit-label>
|
|
<input bitInput type="password" formControlName="masterPassword" appInputVerbatim />
|
|
</bit-form-field>
|
|
<bit-form-field>
|
|
<bit-label>{{ "recoveryCodeTitle" | i18n }}</bit-label>
|
|
<input bitInput type="text" formControlName="recoveryCode" appInputVerbatim />
|
|
</bit-form-field>
|
|
<hr />
|
|
<div class="tw-flex tw-gap-2">
|
|
<button type="submit" bitButton bitFormButton buttonType="primary" [block]="true">
|
|
{{ "submit" | i18n }}
|
|
</button>
|
|
<a bitButton buttonType="secondary" routerLink="/login" [block]="true">
|
|
{{ "cancel" | i18n }}
|
|
</a>
|
|
</div>
|
|
</form>
|