xxxxxxxxxx
// config/session.php
return [
// Other session configuration options...
'lifetime' => 30,
];
xxxxxxxxxx
Goto config/session.php and change the lifetime value to anything you like
'lifetime' => 120,
'expire_on_close' => true,
'expired-session-redirect' => url(env('APP_URL'))