F
Filament2mo ago
Nicole

Filament authentication for non-admin, but I want them be redirected to another page

I have both admin and normal user roles. Only admins can access the admin panel I've done that using canAccessPanel. However, for normal users, I want to use the existing Filament authentication, but they should be redirected to a different page intended for them, instead of accessing the admin panel.
1 Reply
toeknee
toeknee2mo ago
Add a middleware that checks if they are X and else redirect to Y.