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

PM-4960 Migrate Verify Recover Delete Component (#9171)

* PM-4960 Migrate Verify Recover Delete Component

* PM-4960 Minor fix

* PM-4960 Addressed review comments
This commit is contained in:
KiruthigaManivannan
2024-06-19 20:48:31 +05:30
committed by GitHub
parent a427ec371a
commit dfd4479a9c
3 changed files with 41 additions and 61 deletions

View File

@@ -136,12 +136,6 @@ const routes: Routes = [
data: { titleId: "acceptFamilySponsorship", doNotSaveUrl: false } satisfies DataProperties,
},
{ path: "recover", pathMatch: "full", redirectTo: "recover-2fa" },
{
path: "verify-recover-delete",
component: VerifyRecoverDeleteComponent,
canActivate: [UnauthGuard],
data: { titleId: "deleteAccount" } satisfies DataProperties,
},
{
path: "verify-recover-delete-org",
component: VerifyRecoverDeleteOrgComponent,
@@ -330,6 +324,20 @@ const routes: Routes = [
},
],
},
{
path: "verify-recover-delete",
canActivate: [unauthGuardFn()],
children: [
{
path: "",
component: VerifyRecoverDeleteComponent,
data: {
pageTitle: "deleteAccount",
titleId: "deleteAccount",
} satisfies DataProperties & AnonLayoutWrapperData,
},
],
},
{
path: "remove-password",
component: RemovePasswordComponent,