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

Check current model supports HasTeams before trying to access team information. #1120

Merged
merged 5 commits into from
Aug 17, 2022

Conversation

crynobone
Copy link
Member

@crynobone crynobone commented Aug 12, 2022

This would be useful for applications with multiple user providers and uses Inertia (as ShareInertiaData middleware is appended to global web middleware). As an example, this will fix laravel/nova-issues#4683

Signed-off-by: Mior Muhammad Zaki [email protected]

information.

This would be useful for application with multiple user providers and uses
Inertia. As an example, this will fixes laravel/nova-issues#4683

Signed-off-by: Mior Muhammad Zaki <[email protected]>
Signed-off-by: Mior Muhammad Zaki <[email protected]>
Signed-off-by: Mior Muhammad Zaki <[email protected]>
@taylorotwell
Copy link
Member

Do you have to resolve the user outside of the closures? I think it changes the time the user is resolved and may introduce some sort of bugs?

@taylorotwell taylorotwell marked this pull request as draft August 16, 2022 15:09
@crynobone
Copy link
Member Author

Do you have to resolve the user outside of the closures?

Not really.

I think it changes the time the user is resolved and may introduce some sort of bugs?

Most of the time it would force a page reload but I reverted that changes since it really trivial to the original changes for this PR.

@crynobone crynobone marked this pull request as ready for review August 17, 2022 04:59
@taylorotwell taylorotwell merged commit 04a68c0 into laravel:2.x Aug 17, 2022
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.

Jetstream & Custom auth guard
2 participants