Skip to content

feat(auth): unify password minimum length criteria across schemas via…#814

Open
oscarj007 wants to merge 1 commit into
rinafcode:mainfrom
oscarj007:feature/standardize-password-validation
Open

feat(auth): unify password minimum length criteria across schemas via…#814
oscarj007 wants to merge 1 commit into
rinafcode:mainfrom
oscarj007:feature/standardize-password-validation

Conversation

@oscarj007

Copy link
Copy Markdown

closes #750

Single Source of Truth: Centralizes the minimum password validation length directly within a single PASSWORD_MIN_LENGTH = 8 constant wrapper.

Unified Boundary Restrictions: Upgrades all validation layers—including client form fields, intermediate API request DTOs, and underlying application storage schemas—to share identical rules.

Cohesive Messaging Output: Syncs error rejection outputs so users see the same descriptive Password must be at least 8 characters long message regardless of where the validation triggers.

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.

[Tech-debt] Password minimum length is inconsistent across three schema files (1, 6, or 8 characters)

2 participants