mirror of
https://github.com/bitwarden/browser
synced 2026-02-05 03:03:26 +00:00
* [PM-29918] Implement new Send auth flows * [PM-29918] Fix types * Trigger Claude code review * [PM-29918] Address PR review comments * [PM-29918] Remove duplicate AuthType const
36 lines
889 B
HTML
36 lines
889 B
HTML
@if (!enterOtp()) {
|
|
<bit-form-field>
|
|
<bit-label>{{ "email" | i18n }}</bit-label>
|
|
<input bitInput type="text" [formControl]="email" required appInputVerbatim appAutofocus />
|
|
</bit-form-field>
|
|
<div class="tw-flex">
|
|
<button
|
|
bitButton
|
|
bitFormButton
|
|
type="submit"
|
|
buttonType="primary"
|
|
[loading]="loading()"
|
|
[block]="true"
|
|
>
|
|
<span>{{ "sendCode" | i18n }} </span>
|
|
</button>
|
|
</div>
|
|
} @else {
|
|
<bit-form-field>
|
|
<bit-label>{{ "verificationCode" | i18n }}</bit-label>
|
|
<input bitInput type="text" [formControl]="otp" required appInputVerbatim appAutofocus />
|
|
</bit-form-field>
|
|
<div class="tw-flex">
|
|
<button
|
|
bitButton
|
|
bitFormButton
|
|
type="submit"
|
|
buttonType="primary"
|
|
[loading]="loading()"
|
|
[block]="true"
|
|
>
|
|
<span>{{ "viewSend" | i18n }} </span>
|
|
</button>
|
|
</div>
|
|
}
|