Bug #2345
openThe user is able to create a new password that has more characters than 30
0%
Description
When the user is changing the password on the website, the 'New password' field accepts more characters than the maximum of 30.
Steps to reproduce:
1. Log in and navigate to https://qainterrapt.brainster.xyz/profile
2. Enter a valid password in the ‘Current password’ field.
3. Enter an invalid password in the ‘New password’ field, longer than 30 characters.
4. Retype the new password in the ‘Confirm new password’ field.
5. Click on the ‘Change password’ button.
Expected result:
The ‘New password’ field should not accept the entered password and the password should not be changed. Instead, there should be a message written in red letters under the field that the password is incorrect.
Actual result:
The ‘New password’ field accepts a password longer than the maximum of 30 characters, and the password is changed.