qbicsoftware / data-manager-app

A web-based life science omics and imaging data management solution
MIT License
8 stars 0 forks source link

Inform user on reason for password invalidity during password reset #703

Open Steffengreiner opened 1 month ago

Steffengreiner commented 1 month ago

Describe the bug If an invalid password is provided as a to be set password during password reset the user is shown a general exception instead of being informed on why the provided password is invalid.

To Reproduce Steps to reproduce the behavior:

  1. Progress the password reset process until a new password can be specified.
  2. In this New Password screen input a password string that is invalid (e.g. due to length being too short)
  3. The data manager application will show a general exception error message instead of specifying to the user why the provided password is invalid.

Expected behavior The user is informed about the reason why the provided password is too short instead of being shown a general application error. Ideally below the password setting textfield similiar to how it's done during user registration.

Screenshots

Screenshot 2024-07-10 at 16 28 16

Desktop (please complete the following information):

KochTobi commented 1 month ago

In the new password layout no validation takes place. Compare the field in the registration layout. The same validation should take place.