dilfdo
391
1
Laravel

How to automatically logout user when account is inactive

Posted 3 years ago by dilfdo

i want to logut user when he/she away from browser and when closing tab/browser .

is this allow on Laravel 5.2 ? Please advice

config/session.php

*/

'lifetime' => 15,

'expire_on_close' => true,

this is my current config. but even i edit this .nothing happend ,

Please sign in or create an account to participate in this conversation.