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

[2.x] Make the guard configurable #110

Merged
merged 2 commits into from
Mar 23, 2020
Merged

[2.x] Make the guard configurable #110

merged 2 commits into from
Mar 23, 2020

Conversation

bambamboole
Copy link
Contributor

I am building a Laravel package which uses sanctum. It was really a missing peace in the eco system. Thanks for this!

However, since I have an additional guard in my package, I had problems to make the described stateful requests.

There was also no way to swap out the implementation via the container because it is instantiated with new instead of using the container.

This little change would give me the possibility to go on with this package. I think there is also a discussion about this topic in #20

There are no breaking changes.

@driesvints driesvints changed the title Make the guard configurable [2.x] Make the guard configurable Mar 23, 2020
@taylorotwell taylorotwell merged commit deaf73f into laravel:2.x Mar 23, 2020
@iSWORD
Copy link

iSWORD commented Apr 29, 2020

This is very helpful and needs to be added to the config file.

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.

3 participants