From 52642056d8ee671ce145c4c65bbb9162796fe54d Mon Sep 17 00:00:00 2001 From: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com> Date: Tue, 9 Sep 2025 13:13:05 -0400 Subject: [PATCH] fix(DesktopRoutingModule): [Auth/PM-25604] Restore set-initial-password route definition (#16361) --- apps/desktop/src/app/app-routing.module.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/desktop/src/app/app-routing.module.ts b/apps/desktop/src/app/app-routing.module.ts index 2a65dff33b..675aec95ac 100644 --- a/apps/desktop/src/app/app-routing.module.ts +++ b/apps/desktop/src/app/app-routing.module.ts @@ -12,6 +12,7 @@ import { unauthGuardFn, } from "@bitwarden/angular/auth/guards"; import { ChangePasswordComponent } from "@bitwarden/angular/auth/password-management/change-password"; +import { SetInitialPasswordComponent } from "@bitwarden/angular/auth/password-management/set-initial-password/set-initial-password.component"; import { DevicesIcon, RegistrationLockAltIcon, @@ -291,6 +292,14 @@ const routes: Routes = [ }, } satisfies RouteDataProperties & AnonLayoutWrapperData, }, + { + path: "set-initial-password", + canActivate: [authGuard], + component: SetInitialPasswordComponent, + data: { + maxWidth: "lg", + } satisfies AnonLayoutWrapperData, + }, { path: "change-password", component: ChangePasswordComponent,