GraphQL login mutation doesn't throw detailed error message #5558
Labels
issue: enhancement
Issue suggesting an enhancement to an existing feature
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
source: plugin:graphql
Source is plugin/graphql package
Describe the bug
I noticed that the schema.graphql.js in the latest version of the User Permissions plugin is somewhat changed. The checkBadRequest function doesn't return an Apollo error anymore which results in a JWT error when the password and/or username is incorrect.
Steps to reproduce the behavior
Expected behavior
A clear error message when the username and/or password is incorrect when trying to log in.
System
The text was updated successfully, but these errors were encountered: