F
Filament5mo ago
Dev_

How can I achieve the automatic logout by the set time. Is it possible in Filament?

Please anyone who can help on this.
4 Replies
JustNoOne
JustNoOne5mo ago
On idle?
Positiverain
Positiverain5mo ago
Use Laravel sessions, the default timeout for automatic logout is 120 minutes. It can be changed from ./config/session.php, under lifetime.
Dev_
Dev_5mo ago
By 4PM it will automatically logout. Thank you, I will try your suggestion. But the problem is, there are specific role that should automatically logout.
Positiverain
Positiverain5mo ago
Stack Overflow
Laravel session expire time for each session
Can we set expire time for each session in Laravel? If we can how it possible from the controller by each session that we create? Thanks.