User & Admin panel

Hello. I have created my User and Admin panel. I want http://127.0.0.1:8000/user to go directly to dashboard page without login page. How can I do this?
8 Replies
einnlleinhatt_
einnlleinhatt_12mo ago
Try make the login(null)
YusifHajiyev
YusifHajiyevOP12mo ago
Route [login] not defined. I get this error when I type login(null).
krekas
krekas12mo ago
What do you mean without login page? First, user needs to be authenticated
YusifHajiyev
YusifHajiyevOP12mo ago
I don't want to have a login for the user panel
einnlleinhatt_
einnlleinhatt_12mo ago
Maybe make your own custom middleware
YusifHajiyev
YusifHajiyevOP12mo ago
I would like to ask if it is possible without writing custom middleware. With filament
krekas
krekas12mo ago
User needs to be authenticated. How you will do it doesn't matter. Panels can't be accessed by guests
Dennis Koch
Dennis Koch12mo ago
Your can authenticate a demo user on that page auth()->login($user) and redirect to the dashboard you want.
Want results from more Discord servers?
Add your server