1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00

Remove feature flag check from opt-out (#13130)

This commit is contained in:
Todd Martin
2025-02-06 14:37:08 -05:00
committed by GitHub
parent 1a001ff9a1
commit 3e988fae6f
2 changed files with 1 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
</div>
<app-danger-zone>
<ng-container *ngIf="showSetNewDeviceLoginProtection$ | async">
<ng-container>
<button
*ngIf="verifyNewDeviceLogin"
type="button"

View File

@@ -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(
@@ -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,
);