Skip to content

Commit

Permalink
Remove feature flag check from opt-out (#13130)
Browse files Browse the repository at this point in the history
  • Loading branch information
trmartin4 authored Feb 6, 2025
1 parent 1a001ff commit 3e988fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1 bitTypography="h1">{{ "changeEmail" | i18n }}</h1>
</div>

<app-danger-zone>
<ng-container *ngIf="showSetNewDeviceLoginProtection$ | async">
<ng-container>
<button
*ngIf="verifyNewDeviceLogin"
type="button"
Expand Down
4 changes: 0 additions & 4 deletions apps/web/src/app/auth/settings/account/account.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export class AccountComponent implements OnInit, OnDestroy {
showChangeEmail$: Observable<boolean> = new Observable();
showPurgeVault$: Observable<boolean> = new Observable();
showDeleteAccount$: Observable<boolean> = new Observable();
showSetNewDeviceLoginProtection$: Observable<boolean> = new Observable();
verifyNewDeviceLogin: boolean = true;

constructor(
Expand All @@ -48,9 +47,6 @@ export class AccountComponent implements OnInit, OnDestroy {
async ngOnInit() {
const userId = await firstValueFrom(getUserId(this.accountService.activeAccount$));

this.showSetNewDeviceLoginProtection$ = this.configService.getFeatureFlag$(
FeatureFlag.NewDeviceVerification,
);
const isAccountDeprovisioningEnabled$ = this.configService.getFeatureFlag$(
FeatureFlag.AccountDeprovisioning,
);
Expand Down

0 comments on commit 3e988fa

Please sign in to comment.