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

Accepting invitation with password validation error shows unexpected error #22051

Closed
robinsonjohn opened this issue Apr 2, 2024 · 1 comment

Comments

@robinsonjohn
Copy link

Describe the Bug

During the process of creating a password when accepting an invitation, if the password fails the password validation, the user is shown "Unexpected Error" instead of the error which was received (validation error).

This does not allow the user to understand the error and modify their password.

To Reproduce

  • Create auth password policy: Settings > Auth Password Policy
  • Invite new user: Users > Invite user
  • Visit accept link and attempt to create password which fails the password policy (i.e. length too short)

Browser console shows that the validation error was returned, but the user is simply shown "Unexpected Error".

Screenshot 2024-04-02 at 11 20 01 AM
Screenshot 2024-04-02 at 11 13 07 AM

Directus Version

v10.10.4

Hosting Strategy

Self-Hosted (Docker Image)

@br41nslug
Copy link
Member

Duplicate of #21971

@br41nslug br41nslug marked this as a duplicate of #21971 Apr 2, 2024
@br41nslug br41nslug closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants