Skip to content

Commit

Permalink
Auth/ Fix web route data configuration issues for SSO comp and Accept…
Browse files Browse the repository at this point in the history
… Emergency comp (#9671)
  • Loading branch information
JaredSnider-Bitwarden authored Jun 15, 2024
1 parent afe9a17 commit b15cac6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions apps/web/src/app/oss-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,14 @@ const routes: Routes = [
{
path: "sso",
canActivate: [unauthGuardFn()],
data: {
pageTitle: "enterpriseSingleSignOn",
titleId: "enterpriseSingleSignOn",
} satisfies DataProperties & AnonLayoutWrapperData,
children: [
{
path: "",
component: SsoComponent,
data: {
pageTitle: "enterpriseSingleSignOn",
titleId: "enterpriseSingleSignOn",
} satisfies DataProperties & AnonLayoutWrapperData,
},
{
path: "",
Expand Down Expand Up @@ -286,14 +286,14 @@ const routes: Routes = [
{
path: "accept-emergency",
canActivate: [deepLinkGuard()],
data: {
pageTitle: "emergencyAccess",
titleId: "acceptEmergency",
doNotSaveUrl: false,
} satisfies DataProperties & AnonLayoutWrapperData,
children: [
{
path: "",
data: {
pageTitle: "emergencyAccess",
titleId: "acceptEmergency",
doNotSaveUrl: false,
} satisfies DataProperties & AnonLayoutWrapperData,
loadComponent: () =>
import("./auth/emergency-access/accept/accept-emergency.component").then(
(mod) => mod.AcceptEmergencyComponent,
Expand Down

0 comments on commit b15cac6

Please sign in to comment.