Skip to content

🐛 Bug: Inconsistent Password Length Validation Across Auth Forms #443

@PapuliDoley

Description

@PapuliDoley

The minimum password length requirement is different between Signup.jsx and ChangePassword.jsx:

Signup.jsx requires 8 characters:

if (formData.password.length < 8) {
newErrors.password = "Password must be at least 8 characters";
}

ChangePassword.jsx only requires 6 characters:

if (newPassword.length < 6) {
setError("New Password must be at Least 6 characters long.");
}

A user who signed up (min 8 chars) could be confused when changing password allows 6 chars
Happy to submit a PR for this if assigned. NSoC'26

Metadata

Metadata

Assignees

Labels

NSoC'26bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions