I have multiple login user
,admin
, and client
. Authentication is working fine for all users. But I have problem to redirect them to different route when their login session ends, or if they try to access pages without logging in. All of them is redirected to login
route.
So how can I assign different route for each user, for example user
goes to user/login
, admin
goes to admin/login
and client
goes to client/login
.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire