How to set individual SESSION_LIFETIME for admin panel & customer panel?
-
How to set individual SESSION_LIFETIME for admin panel & customer panel?
-
- open your .env file
- change the following line:
SESSION_LIFETIME=20
-
Thanks @ghermans
But this will change for all. I want different session lifetime for different auth type.
[Like, for admin SESSION_LIFETIME=20 & for customer SESSION_LIFETIME=10]