Skip to content

fix(auth): add client-side password complexity validation and pre-submit re-validation to prevent Supabase error#1

Open
simisdav55-oss wants to merge 1 commit into
mainfrom
fix-253-admin-signup-password
Open

fix(auth): add client-side password complexity validation and pre-submit re-validation to prevent Supabase error#1
simisdav55-oss wants to merge 1 commit into
mainfrom
fix-253-admin-signup-password

Conversation

@simisdav55-oss

Copy link
Copy Markdown
Owner

Summary

Adds client-side password validation before form submission to prevent Supabase (invalid_parameter_value) errors caused by passwords that do not meet complexity requirements.

Changes

  • Added password complexity validation (minimum 8 chars, uppercase, lowercase, digit) on the signup form
  • Added pre-submit password re-validation to guard against devtools manipulation of form state
  • Added confirmPassword match check at submit time

Closes ritesh-1918#253

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.

[BUG]: error in password handling in admin signup

1 participant