Skip to content

No validation message for password needing letters or special characters #1173

@veliadang

Description

@veliadang

Issue:

  • During account registration, the system does not display any validation message or warning indicating that the password must meet complexity requirements (e.g., include letters, numbers, or special characters).

Expected behavior:

  • When a user enters a password that does not meet the required complexity criteria, the system should display a clear validation message such as:

“Password must contain at least one letter, one number, and one special character.”

Current Behavior:

  1. When the user enters a password made up of only numbers, the system does not show any warning at the time of input.
  2. The user can proceed to click the “Register” button, and only then does the error message appear.
  3. This can confuse users, as they may not notice the issue until after they submit the form.

Steps to Reproduce:

  1. Open the account registration form.
  2. Enter a password containing only numbers (e.g., 123456).
  3. Observe: no warning or validation message is shown regarding password strength.
  4. Click the “Register” button.
  5. The error message about invalid password format is displayed only at this point.

Expected Result:

  • The system should immediately alert the user when an invalid password is entered, rather than only showing the message after clicking “Register.”

Impact:

  • Causes frustration and confusion for users due to lack of immediate feedback during input.
  • Reduces user experience and may lead to repeated invalid submissions.

Suggested Fix:

  • Add real-time validation and display warning messages directly within the password input field (front-end validation).
  • Show clear warnings as soon as the password does not meet the requirements, without waiting for the user to submit the form.
  • Example validation rule:

Password must be at least 8 characters long and include letters, numbers, and special characters.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions