bitwarden-estensione-browser/apps/web/src/app/accounts/recover-two-factor.componen...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

77 lines
2.4 KiB
HTML
Raw Normal View History

2018-07-13 21:36:27 +02:00
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" class="container" ngNativeValidate>
<div class="row justify-content-md-center mt-5">
<div class="col-5">
<p class="lead text-center mb-4">{{ "recoverAccountTwoStep" | i18n }}</p>
<div class="card">
<div class="card-body">
<p>
{{ "recoverAccountTwoStepDesc" | i18n }}
2019-02-21 22:50:37 +01:00
<a
2022-01-31 20:11:27 +01:00
href="https://bitwarden.com/help/lost-two-step-device/"
2019-02-21 22:50:37 +01:00
target="_blank"
rel="noopener"
>{{ "learnMore" | i18n }}</a
>
2018-07-13 21:36:27 +02:00
</p>
<div class="form-group">
<label for="email">{{ "emailAddress" | i18n }}</label>
2019-02-21 22:50:37 +01:00
<input
id="email"
class="form-control"
type="text"
name="Email"
[(ngModel)]="email"
required
appAutofocus
inputmode="email"
appInputVerbatim="false"
/>
2018-07-13 21:36:27 +02:00
</div>
<div class="form-group">
<label for="masterPassword">{{ "masterPass" | i18n }}</label>
2019-02-21 22:50:37 +01:00
<input
id="masterPassword"
type="password"
name="MasterPassword"
class="form-control"
[(ngModel)]="masterPassword"
required
appInputVerbatim
/>
2018-07-13 21:36:27 +02:00
</div>
<div class="form-group">
<label for="recoveryCode">{{ "recoveryCodeTitle" | i18n }}</label>
2019-02-21 22:50:37 +01:00
<input
id="recoveryCode"
class="text-monospace form-control"
type="text"
name="RecoveryCode"
[(ngModel)]="recoveryCode"
required
appInputVerbatim
/>
2018-07-13 21:36:27 +02:00
</div>
<hr />
<div class="d-flex">
2018-07-18 05:15:15 +02:00
<button
type="submit"
class="btn btn-primary btn-block btn-submit"
[disabled]="form.loading"
>
<span>{{ "submit" | i18n }}</span>
2019-10-11 16:35:24 +02:00
<i
class="bwi bwi-spinner bwi-spin"
2019-10-11 16:35:24 +02:00
title="{{ 'loading' | i18n }}"
aria-hidden="true"
></i>
2018-07-13 21:36:27 +02:00
</button>
<a routerLink="/login" class="btn btn-outline-secondary btn-block ml-2 mt-0">
2018-07-13 21:36:27 +02:00
{{ "cancel" | i18n }}
</a>
</div>
</div>
2021-12-17 15:57:11 +01:00
</div>
2018-07-13 21:36:27 +02:00
</div>
2021-12-17 15:57:11 +01:00
</div>
2018-07-13 21:36:27 +02:00
</form>