mirror of
https://github.com/bitwarden/web
synced 2025-12-11 22:03:21 +00:00
verify recovery delete page
This commit is contained in:
@@ -17,6 +17,7 @@ import { RecoverTwoFactorComponent } from './accounts/recover-two-factor.compone
|
||||
import { RegisterComponent } from './accounts/register.component';
|
||||
import { TwoFactorComponent } from './accounts/two-factor.component';
|
||||
import { VerifyEmailTokenComponent } from './accounts/verify-email-token.component';
|
||||
import { VerifyRecoverDeleteComponent } from './accounts/verify-recover-delete.component';
|
||||
|
||||
import { CollectionsComponent as OrgManageCollectionsComponent } from './organizations/manage/collections.component';
|
||||
import { EventsComponent as OrgEventsComponent } from './organizations/manage/events.component';
|
||||
@@ -75,10 +76,30 @@ const routes: Routes = [
|
||||
},
|
||||
{ path: 'lock', component: LockComponent },
|
||||
{ path: 'verify-email', component: VerifyEmailTokenComponent },
|
||||
{ path: 'accept-organization', component: AcceptOrganizationComponent },
|
||||
{
|
||||
path: 'accept-organization',
|
||||
component: AcceptOrganizationComponent,
|
||||
data: { titleId: 'joinOrganization' },
|
||||
},
|
||||
{ path: 'recover', pathMatch: 'full', redirectTo: 'recover-2fa' },
|
||||
{ path: 'recover-2fa', component: RecoverTwoFactorComponent, canActivate: [UnauthGuardService] },
|
||||
{ path: 'recover-delete', component: RecoverDeleteComponent, canActivate: [UnauthGuardService] },
|
||||
{
|
||||
path: 'recover-2fa',
|
||||
component: RecoverTwoFactorComponent,
|
||||
canActivate: [UnauthGuardService],
|
||||
data: { titleId: 'recoverAccountTwoStep' },
|
||||
},
|
||||
{
|
||||
path: 'recover-delete',
|
||||
component: RecoverDeleteComponent,
|
||||
canActivate: [UnauthGuardService],
|
||||
data: { titleId: 'deleteAccount' },
|
||||
},
|
||||
{
|
||||
path: 'verify-recover-delete',
|
||||
component: VerifyRecoverDeleteComponent,
|
||||
canActivate: [UnauthGuardService],
|
||||
data: { titleId: 'deleteAccount' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user