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:
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
|
||||
<app-danger-zone>
|
||||
<ng-container *ngIf="showSetNewDeviceLoginProtection$ | async">
|
||||
<ng-container>
|
||||
<button
|
||||
*ngIf="verifyNewDeviceLogin"
|
||||
type="button"
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user