Closed imrancoder closed 1 year ago
Did you update the guard as well?
'auth' => [
'guard' => env('FILAMENT_AUTH_GUARD', 'filament'),
Make sure that you're not overwriting FILAMENT_AUTH_GUARD
with a different value.
I'm getting the same issue.
Managed to get in. I needed to update the policies to use FilamentUser:
Closing due to inactivity.
Make sure you use FilamentUser
in your policies and update your guard correctly.
Chiiya\FilamentAccessControl\Policies\FilamentUserPolicy::viewAny(): Argument #1 ($user) must be of type Chiiya\FilamentAccessControl\Models\FilamentUser, App\Models\User given, called in
i have already updated filament config file
auth.pages.login
value with\Chiiya\FilamentAccessControl\Http\Livewire\Login::class