i want to change routes login in filament
by default the login page locate in /admin/login, i think this doesnt make sanse for role user to login, so i decide to replace the login routes from /admin/login to /admin, but it doesnt work for me, can u help me?
in admin panel i already add

5 Replies
Try it
new error occur

eh it is works after i delete route for loigin in web.php @Kaesa Lyrih
hmm, but i also want /admin as base path of admin dashboard @Kaesa Lyrih , any suggest?
U can make new panel for User. AdminPanelProvider using path (admin) && UserPanelProvider using path(/)
actually for user, we use page view in laravel instead of using PanelProvider
can i ask something differnt? i have some page
/building/id
/my/transaction
/my/booking
btw, for now, i will stay on /admin/login as login page route
i want to make a middleware for check does user have change their default password? if not they will redirect ot reset-password page, if user already change their default password, they can acccess di page
how do i implement this middleware in filament, i also want to check if user already login or not, if they didnt login yet, the will redirected to login page