Hey, i check out filament at the moment, and want to build a admin panel to check and control things, and a user panel for every user. how that work? I see there is no default /register? /login? route or button like in laravel basic.
Want to make that the user can handle normal saas app, but i can manage with admin panel all
Some information about that?
Solution
what you can do is to use build in filament methods on your provider like that:
final class AdminPanelProvider extends PanelProvider{ /** * @throws Exception */ public function panel(Panel $panel): Panel { return $panel ->passwordReset() ->login() ->registration() ->profile()
final class AdminPanelProvider extends PanelProvider{ /** * @throws Exception */ public function panel(Panel $panel): Panel { return $panel ->passwordReset() ->login() ->registration() ->profile()
Having multiple panels is excellent for separating users from other roles. However, managing each different login page can be tricky. So, let's make one login page for all panels and switch redirects based on roles.