@@ -18,7 +18,6 @@ import {
18
18
unauthGuardFn ,
19
19
} from "@bitwarden/angular/auth/guards" ;
20
20
import { canAccessFeature } from "@bitwarden/angular/platform/guard/feature-flag.guard" ;
21
- import { NewDeviceVerificationNoticeGuard } from "@bitwarden/angular/vault/guards" ;
22
21
import {
23
22
AnonLayoutWrapperComponent ,
24
23
AnonLayoutWrapperData ,
@@ -47,11 +46,6 @@ import {
47
46
} from "@bitwarden/auth/angular" ;
48
47
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum" ;
49
48
import { LockComponent } from "@bitwarden/key-management-ui" ;
50
- import {
51
- NewDeviceVerificationNoticePageOneComponent ,
52
- NewDeviceVerificationNoticePageTwoComponent ,
53
- VaultIcons ,
54
- } from "@bitwarden/vault" ;
55
49
56
50
import { fido2AuthGuard } from "../auth/guards/fido2-auth.guard" ;
57
51
import { AccountSwitcherComponent } from "../auth/popup/account-switching/account-switcher.component" ;
@@ -691,34 +685,6 @@ const routes: Routes = [
691
685
canActivate : [ authGuard ] ,
692
686
data : { elevation : 2 } satisfies RouteDataProperties ,
693
687
} ,
694
- {
695
- path : "new-device-notice" ,
696
- component : ExtensionAnonLayoutWrapperComponent ,
697
- canActivate : [ ] ,
698
- children : [
699
- {
700
- path : "" ,
701
- component : NewDeviceVerificationNoticePageOneComponent ,
702
- data : {
703
- pageIcon : VaultIcons . ExclamationTriangle ,
704
- pageTitle : {
705
- key : "importantNotice" ,
706
- } ,
707
- hideFooter : true ,
708
- } ,
709
- } ,
710
- {
711
- path : "setup" ,
712
- component : NewDeviceVerificationNoticePageTwoComponent ,
713
- data : {
714
- pageIcon : VaultIcons . UserLock ,
715
- pageTitle : {
716
- key : "setupTwoStepLogin" ,
717
- } ,
718
- } ,
719
- } ,
720
- ] ,
721
- } ,
722
688
{
723
689
path : "tabs" ,
724
690
component : TabsV2Component ,
@@ -736,7 +702,7 @@ const routes: Routes = [
736
702
{
737
703
path : "vault" ,
738
704
component : VaultV2Component ,
739
- canActivate : [ authGuard , NewDeviceVerificationNoticeGuard ] ,
705
+ canActivate : [ authGuard ] ,
740
706
canDeactivate : [ clearVaultStateGuard ] ,
741
707
data : { elevation : 0 } satisfies RouteDataProperties ,
742
708
} ,
0 commit comments