[Solved] laravel Auth session expire do some action in to database


If you don’t want control it after a request (which can be done with middlewares) you should use the Database Session Driver. Change it in config/session to 'driver' => 'database'. Then create the session table with artisan:

php artisan session:table

composer dump-autoload

php artisan migrate

Now you are able to check for users status on sessions table.

solved laravel Auth session expire do some action in to database