F
Filamentβ€’10mo ago
gvharper

403 Forbidden in production

Just deployed my first app to production (Forge + DigitalOcean). Login/Register work fine, but after login I get 403 everywhere. I implemented the FilamentUser contract in my User model per 3.x docs but I can't get around the 403.
public function canAccessPanel(Panel $panel): bool
{
return true;
}
public function canAccessPanel(Panel $panel): bool
{
return true;
}
Any suggestions?
2 Replies
gvharper
gvharperOPβ€’10mo ago
Fixed. Obvious mistake - reverted this file and literally forgot to implement FilamentUser again. πŸ˜…
class User extends Authenticatable implements FilamentUser
class User extends Authenticatable implements FilamentUser
jepewsykes
jepewsykesβ€’10mo ago
nice
Want results from more Discord servers?
Add your server