harshmangalam / qwik-x

Social media web app like Twitter build with Qwikcity
26 stars 28 forks source link

Issue: Password Minimum Length Requirement Missing on Signup Page #87

Closed Krishna3451 closed 2 days ago

Krishna3451 commented 6 days ago

Summary

The signup page currently allows users to create a password of length 1. This poses a security risk as such short passwords are vulnerable to attacks, reducing the overall account security for users.

Steps to Reproduce

  1. Navigate to the signup page.
  2. Attempt to create an account using a password that is only 1 character long.
  3. Observe that the system accepts the password and allows the account creation to proceed.

Expected Behavior

The system should enforce a minimum password length requirement (e.g., 8 characters) to ensure adequate security. A validation error should appear if a user attempts to enter a password shorter than this length, preventing account creation.

Actual Behavior

The signup page accepts passwords of any length, including those as short as one character, and allows the account creation to proceed without warning or error.

Recommended Solution

Krishna3451 commented 6 days ago

@harshmangalam I would love to work on this issue.

harshmangalam commented 6 days ago

@Krishna3451 assigned to you