mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-19 02:51:14 +02:00
Auth/ Fix web route data configuration issues for SSO comp and Accept Emergency comp (#9671)
This commit is contained in:
parent
afe9a1768a
commit
b15cac627f
@ -222,14 +222,14 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: "sso",
|
path: "sso",
|
||||||
canActivate: [unauthGuardFn()],
|
canActivate: [unauthGuardFn()],
|
||||||
|
data: {
|
||||||
|
pageTitle: "enterpriseSingleSignOn",
|
||||||
|
titleId: "enterpriseSingleSignOn",
|
||||||
|
} satisfies DataProperties & AnonLayoutWrapperData,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: "",
|
path: "",
|
||||||
component: SsoComponent,
|
component: SsoComponent,
|
||||||
data: {
|
|
||||||
pageTitle: "enterpriseSingleSignOn",
|
|
||||||
titleId: "enterpriseSingleSignOn",
|
|
||||||
} satisfies DataProperties & AnonLayoutWrapperData,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "",
|
path: "",
|
||||||
@ -286,14 +286,14 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: "accept-emergency",
|
path: "accept-emergency",
|
||||||
canActivate: [deepLinkGuard()],
|
canActivate: [deepLinkGuard()],
|
||||||
|
data: {
|
||||||
|
pageTitle: "emergencyAccess",
|
||||||
|
titleId: "acceptEmergency",
|
||||||
|
doNotSaveUrl: false,
|
||||||
|
} satisfies DataProperties & AnonLayoutWrapperData,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: "",
|
path: "",
|
||||||
data: {
|
|
||||||
pageTitle: "emergencyAccess",
|
|
||||||
titleId: "acceptEmergency",
|
|
||||||
doNotSaveUrl: false,
|
|
||||||
} satisfies DataProperties & AnonLayoutWrapperData,
|
|
||||||
loadComponent: () =>
|
loadComponent: () =>
|
||||||
import("./auth/emergency-access/accept/accept-emergency.component").then(
|
import("./auth/emergency-access/accept/accept-emergency.component").then(
|
||||||
(mod) => mod.AcceptEmergencyComponent,
|
(mod) => mod.AcceptEmergencyComponent,
|
||||||
|
Loading…
Reference in New Issue
Block a user