mirror of
https://github.com/bitwarden/browser
synced 2026-02-18 02:19:18 +00:00
* feat(newdeviceVerificaiton) : adding component and request model * feat(newDeviceverification) : adding state structure to track verify devices for active user; added API call to server. * feat(newDeviceVerification) : added visual elements for opting out of new device verification. * Fixing tests for account service. fixed DI for account service * Fixing strict lint issues * debt(deauthorizeSessionsModal) : changed modal to dialog. fixed strict typing for the new dialog for deviceVerification. * fixing tests * fixing desktop build DI * changed dialog to standalone fixed names and comments. * Adding tests for AccountService * fix linting * PM-15605 - AccountComp - fix ngOnDestroy erroring as it was incorrectly decorated with removed property. * PM-15605 - SetAccountVerifyDevicesDialogComponent - only show warning about turning off new device verification if user doensn't have 2FA configured per task description --------- Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com> Co-authored-by: Jared Snider <jsnider@bitwarden.com>
22 lines
887 B
HTML
22 lines
887 B
HTML
<form [formGroup]="deauthForm" [bitSubmit]="submit">
|
|
<bit-dialog dialogSize="default" [title]="'deauthorizeSessions' | i18n">
|
|
<ng-container bitDialogContent>
|
|
<p bitTypography="body1">{{ "deauthorizeSessionsDesc" | i18n }}</p>
|
|
<bit-callout type="warning">{{ "deauthorizeSessionsWarning" | i18n }}</bit-callout>
|
|
<app-user-verification-form-input
|
|
formControlName="verification"
|
|
name="verification"
|
|
[(invalidSecret)]="invalidSecret"
|
|
></app-user-verification-form-input>
|
|
</ng-container>
|
|
<ng-container bitDialogFooter>
|
|
<button bitButton bitFormButton type="submit" buttonType="danger">
|
|
{{ "deauthorizeSessions" | i18n }}
|
|
</button>
|
|
<button bitButton bitFormButton type="button" buttonType="secondary" bitDialogClose>
|
|
{{ "close" | i18n }}
|
|
</button>
|
|
</ng-container>
|
|
</bit-dialog>
|
|
</form>
|