forked from wp-graphql/wp-graphql-jwt-authentication
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wp-graphql#69 - JWT Tokens could not be returned after regiserUser mu…
…tation - This updates the mutations to expect a User model to be passed through instead of a WP_User object - This also updates some of the errors to be more clear, passing through WP_Error messages - This also returns null when the user cannot access the JWT Secret instead of throwing an error.
- Loading branch information
Showing
2 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters