Skip to content

Username and Password Validation rule are missing #2713

Description

@CodyHuynh-QA

Description:
Validation rules for Username and Password fields are missing or improperly enforced. Current behavior allows invalid inputs such as single underscores, whitespace-only passwords, and entries without clear length or composition requirements.

Expected Result

Username

  • Enforce minimum and maximum length (e.g., min 3, max 32).
  • Automatically trim whitespace at both ends before validation.
  • Reject usernames consisting only of underscores or whitespace.

Password

  • Enforce minimum and maximum length (e.g., min 8, max 64).
  • Reject passwords consisting only of whitespace.
  • Require at least one letter, one number, and one special character.
  • Provide clear error messages when requirements are not met.

Actual Result

Username

  • Accepts single underscore _ and single-character inputs.
  • No clear length restrictions.
  • Does not trim whitespace automatically.

Password

  • Accepts whitespace-only values.
  • Accepts single-character inputs.
  • No clear length restrictions.
  • No requirement for letters, numbers, or special characters.

Metadata

Metadata

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status
Product/UX

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions