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

Update 0.3.1 breaks the app if using Filament guard #2

Closed
buzkall opened this issue Apr 4, 2022 · 2 comments
Closed

Update 0.3.1 breaks the app if using Filament guard #2

buzkall opened this issue Apr 4, 2022 · 2 comments

Comments

@buzkall
Copy link
Contributor

buzkall commented Apr 4, 2022

When using Filament guard, checking auth()->check() throws an exception:

method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given

It can be solved using:
Filament::auth()->check()

@buzkall
Copy link
Contributor Author

buzkall commented Apr 4, 2022

I've created PR #3

@pxlrbt
Copy link
Owner

pxlrbt commented Apr 5, 2022

Thanks for your PR

@pxlrbt pxlrbt closed this as completed Apr 5, 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

No branches or pull requests

2 participants