Closed buzkall closed 2 years ago
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()
Filament::auth()->check()
I've created PR #3
Thanks for your PR
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()