All tasksBeginner+100 XP2-4 hoursOpen
Add password strength validation to signup
The signup form accepts weak passwords like "123". Add a reusable validator and show a clear error message under the password field.
What you'll learn
Write a reusable validation function and unit-test it
Acceptance criteria
- Password must be at least 8 characters
- Must contain at least one number
- Error message is shown under the password field
- Unit tests cover valid and invalid passwords
Contribution rules
- Work on a branch named
task-7-… - Your PR description must include
Closes #7 - Open the PR from the GitHub account you signed in with
- A maintainer must approve and merge it