mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Remove feature flag check from opt-out (#13130)
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<app-danger-zone>
|
<app-danger-zone>
|
||||||
<ng-container *ngIf="showSetNewDeviceLoginProtection$ | async">
|
<ng-container>
|
||||||
<button
|
<button
|
||||||
*ngIf="verifyNewDeviceLogin"
|
*ngIf="verifyNewDeviceLogin"
|
||||||
type="button"
|
type="button"
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ export class AccountComponent implements OnInit, OnDestroy {
|
|||||||
showChangeEmail$: Observable<boolean> = new Observable();
|
showChangeEmail$: Observable<boolean> = new Observable();
|
||||||
showPurgeVault$: Observable<boolean> = new Observable();
|
showPurgeVault$: Observable<boolean> = new Observable();
|
||||||
showDeleteAccount$: Observable<boolean> = new Observable();
|
showDeleteAccount$: Observable<boolean> = new Observable();
|
||||||
showSetNewDeviceLoginProtection$: Observable<boolean> = new Observable();
|
|
||||||
verifyNewDeviceLogin: boolean = true;
|
verifyNewDeviceLogin: boolean = true;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@@ -48,9 +47,6 @@ export class AccountComponent implements OnInit, OnDestroy {
|
|||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
const userId = await firstValueFrom(getUserId(this.accountService.activeAccount$));
|
const userId = await firstValueFrom(getUserId(this.accountService.activeAccount$));
|
||||||
|
|
||||||
this.showSetNewDeviceLoginProtection$ = this.configService.getFeatureFlag$(
|
|
||||||
FeatureFlag.NewDeviceVerification,
|
|
||||||
);
|
|
||||||
const isAccountDeprovisioningEnabled$ = this.configService.getFeatureFlag$(
|
const isAccountDeprovisioningEnabled$ = this.configService.getFeatureFlag$(
|
||||||
FeatureFlag.AccountDeprovisioning,
|
FeatureFlag.AccountDeprovisioning,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user