filament not login inactive user?
I managed to implement it using the code below:
public function canAccessPanel(Panel $panel): bool
{
return $this->is_active == true ;
}
The problem is that it returns page 403 FORBIDDEN, and I can no login access the admin/login route to log in with another user.
It always stays on page 403 FORBIDDEN
What solution to this problem?
public function canAccessPanel(Panel $panel): bool
{
return $this->is_active == true ;
}
The problem is that it returns page 403 FORBIDDEN, and I can no login access the admin/login route to log in with another user.
It always stays on page 403 FORBIDDEN
What solution to this problem?