Unhelpful error on weak password validation
- Dominant language
- TypeScript
- Stars
- 37.9k
- Forks
- 4.9k
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 37
Description
### Describe the Bug
When attempting to create a new user with a weak password that does not pass the password strength validation, the displayed error message of "Validation failed" is unhelpful.
A new error should be introduced similar to that of: https://github.com/directus/directus/pull/26971 in order to allow for a more descriptive message as well as allowing for translation of the associated string.
### To Reproduce
- Set Auth Password Policy to "strong" in settings
- Invite a user
- Navigate to create user password flow from email link
- Enter a weak password
- Non-specific error is shown
### Directus Version
v11.17.1
### Hosting Strategy
Self-Hosted (Docker Image)
### Database
NA
Contributor guide
Assessment
This issue has not been assessed yet.