Skip to content

feat: add password strength validation to registration and password changing#55

Open
blockctl wants to merge 1 commit into
AbianS:mainfrom
blockctl:feat/password-strength-validation
Open

feat: add password strength validation to registration and password changing#55
blockctl wants to merge 1 commit into
AbianS:mainfrom
blockctl:feat/password-strength-validation

Conversation

@blockctl
Copy link
Copy Markdown

  • Server: Add password validation module with requirements (min 8 chars, uppercase, lowercase, digit, not common password)
  • Server: Add POST /auth/change-password endpoint
  • Client: Add changePassword() method and ChangePasswordRequest type
  • WebView: Add registration form with real-time password feedback
  • WebView: Add password change form in account settings
  • Add comprehensive unit tests for password validation

Closes #48

…hanges

- Server: Add password validation module with requirements (min 8 chars,
  uppercase, lowercase, digit, not common password)
- Server: Add POST /auth/change-password endpoint
- Client: Add changePassword() method and ChangePasswordRequest type
- WebView: Add registration form with real-time password feedback
- WebView: Add password change form in account settings
- Add comprehensive unit tests for password validation

Closes AbianS#48
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 30, 2026

Warning

Rate limit exceeded

@blockctl has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 40 minutes and 29 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8a81674d-0103-4d55-86c9-338c188495c1

📥 Commits

Reviewing files that changed from the base of the PR and between 8a6f8ad and 9513b1f.

📒 Files selected for processing (17)
  • apps/server/src/auth/mod.rs
  • apps/server/src/auth/password.rs
  • apps/server/src/models/mod.rs
  • apps/server/src/models/user.rs
  • apps/server/src/routes/auth.rs
  • apps/server/src/services/users.rs
  • apps/webview-ui/src/actions/auth.ts
  • apps/webview-ui/src/app/(main)/settings/account/change-password-form.tsx
  • apps/webview-ui/src/app/(main)/settings/account/page.tsx
  • apps/webview-ui/src/app/auth/login/login-form.tsx
  • apps/webview-ui/src/app/auth/register/page.tsx
  • apps/webview-ui/src/app/auth/register/register-form.tsx
  • apps/webview-ui/src/lib/password-validation.ts
  • packages/client/src/index.ts
  • packages/client/src/resources/auth.ts
  • packages/client/src/schemas/user.ts
  • packages/client/src/types/user.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 40 minutes and 29 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

Add password strength validation to registration and password changes

1 participant