Skip to content

Fix/validate password#188

Open
AJ-Collins wants to merge 2 commits intokaw393939:mainfrom
AJ-Collins:fix/validate-password
Open

Fix/validate password#188
AJ-Collins wants to merge 2 commits intokaw393939:mainfrom
AJ-Collins:fix/validate-password

Conversation

@AJ-Collins
Copy link

Changes Made:

  • Updated UserCreate model in user_schemas.py to add validation on the password field.
  • Enforced:
    • Minimum password length (8 chars)
    • No empty or whitespace-only passwords

Reason:
Previously, users could register with an empty password, which made login impossible and exposed a security flaw.

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.

1 participant

Comments