Password Validation Does Not Enforce All Security Requirements
Description
The password validation logic must ensure that users create passwords meeting the following security requirements. However, the current implementation either:
Does not validate passwords correctly.
Fails to display clear error messages for each unmet requirement.
Expected Behavior
When a user enters a password that does not meet the security requirements, the system should display the following error message, dynamically listing the unmet criteria:
Each requirement should be validated independently, and only unmet criteria should be displayed in the error message.
Actual Behavior
The system either does not validate the password properly or displays incomplete error messages.
Users are unable to understand why their password is invalid.
Steps to Reproduce
Navigate to the registration or password change page.
Enter a password that violates one or more of the requirements (e.g., only lowercase letters, less than 8 characters, etc.).
Submit the form.
Acceptance Criteria
Validation Logic:
A password must pass the following checks:
Minimum 8 characters.
At least one uppercase letter.
At least one lowercase letter.
At least one number.
At least one special character (!@#$%^&*).
Error Message:
If the password does not meet any of the requirements, the error message must list the unmet criteria.
Example for an invalid password:
Password must meet the following requirements:
• At least 8 characters
• An uppercase letter
UI Behavior:
The error message should be displayed near the password input field in red text.
The message must update dynamically as the user corrects the input.
Testing:
Automated and manual tests should verify that all requirements are enforced and error messages are displayed correctly.
Severity
High
Additional Notes
Please ensure this issue is reviewed and resolved promptly as it impacts the usability and security of the application.
Password Validation Does Not Enforce All Security Requirements
Description
The password validation logic must ensure that users create passwords meeting the following security requirements. However, the current implementation either:
Expected Behavior
When a user enters a password that does not meet the security requirements, the system should display the following error message, dynamically listing the unmet criteria:
Each requirement should be validated independently, and only unmet criteria should be displayed in the error message.
Actual Behavior
Steps to Reproduce
Acceptance Criteria
Validation Logic:
Error Message:
UI Behavior:
Testing:
Severity
High
Additional Notes
Please ensure this issue is reviewed and resolved promptly as it impacts the usability and security of the application.