add back env selector to 2fa (#9701)

This commit is contained in:
Jake Fink 2024-06-17 17:25:58 -04:00 committed by GitHub
parent 0c6e296dc3
commit 8440759602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 2 deletions

View File

@ -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",