mirror of
https://github.com/bitwarden/browser
synced 2026-02-13 23:13:36 +00:00
* setup SetPassword component * accept query params * add InputPasswordComponent to template * add route * add dynamic translation with org name * feature flag route * setup onInit * add set password logic * move to libs * remove comments * update AuthGuard routing * use ToastService * replace deprecated methods * replace orgId input with policy input * use getter for msg instead of ngOnInit * cleanup * refactor to use services * more refactoring of service * address browser routing and translations * add desktop service * simplify queryParam handler * remove ngOnDestroy * small edits * use inject() * add jsdocs * create basic tests * add success toasts on successfuly set password * add tests * update feature-flag * move model to service * refactor client services to override setPassword() * add error handling to setPassword() * move auto enroll logic to service * update tests * fix test * adjust padding on password-callout list * revert refactor of auto enroll logic * refactor keyPair generation to own method * update page title and button text * update pageSubtitle and translations * fix test
23 lines
699 B
HTML
23 lines
699 B
HTML
<ng-container *ngIf="syncLoading">
|
|
<i class="bwi bwi-spinner bwi-spin tw-mr-2" title="{{ 'loading' | i18n }}" aria-hidden="true"></i>
|
|
{{ "loading" | i18n }}
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="!syncLoading">
|
|
<app-callout
|
|
type="warning"
|
|
title="{{ 'resetPasswordPolicyAutoEnroll' | i18n }}"
|
|
*ngIf="resetPasswordAutoEnroll"
|
|
>
|
|
{{ "resetPasswordAutoEnrollInviteWarning" | i18n }}
|
|
</app-callout>
|
|
|
|
<auth-input-password
|
|
[buttonText]="'createAccount' | i18n"
|
|
[email]="email"
|
|
[loading]="submitting"
|
|
[masterPasswordPolicyOptions]="masterPasswordPolicyOptions"
|
|
(onPasswordFormSubmit)="handlePasswordFormSubmit($event)"
|
|
></auth-input-password>
|
|
</ng-container>
|