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
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