1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 21:50:15 +00:00

Remove checks of device verification flags on client (#13604)

(cherry picked from commit 319a4dd1cc)
This commit is contained in:
Todd Martin
2025-02-27 13:17:47 -05:00
committed by Todd Martin
parent 642af13f75
commit beebc1b83b
4 changed files with 3 additions and 23 deletions

View File

@@ -11,7 +11,6 @@ import {
unauthGuardFn,
activeAuthGuard,
} from "@bitwarden/angular/auth/guards";
import { canAccessFeature } from "@bitwarden/angular/platform/guard/feature-flag.guard";
import { twofactorRefactorSwap } from "@bitwarden/angular/utils/two-factor-component-refactor-route-swap";
import { NewDeviceVerificationNoticeGuard } from "@bitwarden/angular/vault/guards";
import {
@@ -41,7 +40,6 @@ import {
NewDeviceVerificationComponent,
DeviceVerificationIcon,
} from "@bitwarden/auth/angular";
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum";
import { LockComponent } from "@bitwarden/key-management-ui";
import {
NewDeviceVerificationNoticePageOneComponent,
@@ -586,11 +584,7 @@ const routes: Routes = [
},
{
path: "device-verification",
canActivate: [
canAccessFeature(FeatureFlag.NewDeviceVerification),
unauthGuardFn(),
activeAuthGuard(),
],
canActivate: [unauthGuardFn(), activeAuthGuard()],
children: [
{
path: "",