Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot change the user password - unclear error message #2379

Closed
milanmajchrak opened this issue Jul 20, 2023 · 0 comments · Fixed by #2378
Closed

Cannot change the user password - unclear error message #2379

milanmajchrak opened this issue Jul 20, 2023 · 0 comments · Fixed by #2378
Assignees
Labels
authentication: password related to built in password authentication bug
Milestone

Comments

@milanmajchrak
Copy link
Contributor

Describe the bug
This occurs when the user wants to change the password.
It is not clear why the user cannot change the password.
For instance (according to the validation policies which are set up in the BE: DSpace/DSpace#8254) the password must be at least 8 characters long, but if it less then 8 chars and the user want's to change the password. Only unclear message pops up: An error occurred while trying to change the password.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the user profile
  2. Try to change password with less than 8 characters

Expected behavior
It would be nice to show the specific validation reason why the password validation has failed instead of default message. I suggest to show specific message from the error response.

Related work
#2378

@milanmajchrak milanmajchrak added bug needs triage New issue needs triage and/or scheduling labels Jul 20, 2023
@tdonohue tdonohue added authentication: password related to built in password authentication and removed needs triage New issue needs triage and/or scheduling labels Jul 20, 2023
@tdonohue tdonohue added this to the 7.6.1 milestone Jul 20, 2023
4science-it pushed a commit to 4Science/dspace-angular that referenced this issue Oct 17, 2024
[DSC-1972] set a fixed version for ngx-mask

Approved-by: Giuseppe Digilio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authentication: password related to built in password authentication bug
Projects
Development

Successfully merging a pull request may close this issue.

2 participants