Separate Sessions for User and Admin Portals
I’m using Jetstream for a user (client) portal and Filament for an admin (employee) portal. These are two separate entities.
I have already set up two guards (web and admin), but they both override the same session row in the database. As a result:
but I don't know how to apply the same solution please help
I have already set up two guards (web and admin), but they both override the same session row in the database. As a result:
- When I log out from one portal, it logs me out from both.
- After logging into one portal, if I don’t refresh, I get a 419 expired error. If I refresh, everything works fine.
Question: Can I separate the sessions, for example, by using an admin_sessions table? Or am I doing something else wrong?
but I don't know how to apply the same solution please help
Laracasts