tuyz
Laravel Filament "/admin" 404 not found error (Live server)
in local environments, any user can access the filament panel, did you add a function onto your user model for who can access the admin panel?
in the filament docs the example is as follows
public function canAccessPanel(Panel $panel): bool
{
return str_ends_with($this->email, '@yourdomain.com') && $this->hasVerifiedEmail();
}
you might need to tweak your admin user on your deployed application
4 replies