Skip to content

fix(frontend): add missing password strength provider to setup route#1576

Merged
gugu merged 2 commits intomainfrom
fix/setup-route-missing-password-provider
Feb 6, 2026
Merged

fix(frontend): add missing password strength provider to setup route#1576
gugu merged 2 commits intomainfrom
fix/setup-route-missing-password-provider

Conversation

@gugu
Copy link
Contributor

@gugu gugu commented Feb 6, 2026

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.

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 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 6, 2026 12:24
@gugu gugu enabled auto-merge (squash) February 6, 2026 12:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a missing dependency provider for the setup route that was causing NG0201 errors and blank pages. The SetupComponent uses UserPasswordComponent, which requires the password strength meter service to be provided at the route level.

Changes:

  • Added provideZxvbnServiceForPSM() provider to the /setup route configuration to fix NG0201 error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gugu gugu merged commit cc130ea into main Feb 6, 2026
15 checks passed
@gugu gugu deleted the fix/setup-route-missing-password-provider branch February 6, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant