diff --git a/apps/web/src/app/oss-routing.module.ts b/apps/web/src/app/oss-routing.module.ts index 810cba453b..0c038b76a3 100644 --- a/apps/web/src/app/oss-routing.module.ts +++ b/apps/web/src/app/oss-routing.module.ts @@ -258,11 +258,21 @@ const routes: Routes = [ }, { path: "2fa", - component: TwoFactorComponent, canActivate: [unauthGuardFn()], + children: [ + { + path: "", + component: TwoFactorComponent, + }, + { + path: "", + component: EnvironmentSelectorComponent, + outlet: "environment-selector", + }, + ], data: { pageTitle: "verifyIdentity", - }, + } satisfies DataProperties & AnonLayoutWrapperData, }, { path: "recover-2fa",