Skip to content

Commit

Permalink
[PM-15637] Configure deepLinkGuard in OrganizationsModule for Device …
Browse files Browse the repository at this point in the history
…Approval Links (#12890)
  • Loading branch information
r-tome authored Jan 27, 2025
1 parent 7a51c8a commit 9a0c077
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { ConfigService } from "@bitwarden/common/platform/abstractions/config/co
import { isEnterpriseOrgGuard } from "@bitwarden/web-vault/app/admin-console/organizations/guards/is-enterprise-org.guard";
import { organizationPermissionsGuard } from "@bitwarden/web-vault/app/admin-console/organizations/guards/org-permissions.guard";
import { OrganizationLayoutComponent } from "@bitwarden/web-vault/app/admin-console/organizations/layouts/organization-layout.component";
import { deepLinkGuard } from "@bitwarden/web-vault/app/auth/guards/deep-link.guard";

import { SsoComponent } from "../../auth/sso/sso.component";

Expand All @@ -18,7 +19,7 @@ const routes: Routes = [
{
path: "organizations/:organizationId",
component: OrganizationLayoutComponent,
canActivate: [authGuard, organizationPermissionsGuard()],
canActivate: [deepLinkGuard(), authGuard, organizationPermissionsGuard()],
children: [
{
path: "settings",
Expand Down

0 comments on commit 9a0c077

Please sign in to comment.