From da3f2837527b585885a70ae8d28bafc921fb6259 Mon Sep 17 00:00:00 2001 From: Andrii Kostenko Date: Fri, 6 Feb 2026 12:23:39 +0000 Subject: [PATCH] fix(frontend): add missing password strength provider to setup route The /setup route was missing provideZxvbnServiceForPSM(), causing NG0201 error and blank page when isConfigured returned false. All other routes using UserPasswordComponent already had this provider. Co-Authored-By: Claude Opus 4.6 --- frontend/src/app/app-routing.module.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index e2ff99f46..d7bf6121c 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -1,5 +1,6 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; +import { provideZxvbnServiceForPSM } from 'angular-password-strength-meter/zxcvbn'; import { AuthGuard } from './auth.guard'; import { configurationGuard } from './guards/configuration.guard'; import { setupGuard } from './guards/setup.guard'; @@ -18,6 +19,7 @@ const routes: Routes = [ path: 'setup', loadComponent: () => import('./components/setup/setup.component').then((m) => m.SetupComponent), canActivate: [setupGuard], + providers: [provideZxvbnServiceForPSM()], title: 'Setup | Rocketadmin', }, {