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

JWTUserProvider refreshUser method must return a User object #302

Merged
merged 1 commit into from
Jan 20, 2017

Conversation

MisterGlass
Copy link
Contributor

According to the UserProviderInterface definition, the refreshUser method should return an object implementing UserInterface.

This was returning null & causing an error when trying to chain multiple providers together.

@chalasr
Copy link
Collaborator

chalasr commented Jan 20, 2017

Good catch! Thank you @MisterGlass

@chalasr chalasr merged commit b0f6002 into lexik:master Jan 20, 2017
@MisterGlass
Copy link
Contributor Author

That was quick! Any chance you can tag a release on this? I had to set my composer to dev stability to grab it.

@chalasr
Copy link
Collaborator

chalasr commented Jan 23, 2017

@MisterGlass Done! You can upgrade to v2.1.1

@MisterGlass
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants