Hi everybody, I'm trying to figure out how to require all users to sign in when they visit my app again. Basically, remove the session data that keeps them logged in, so that they have to re-log in. I'm fine with removing all session data, but I can't figure out how to do this.
I've tried 3 things so far:
remember_tokenfield of the
However, NOTHING seems to be working, and the users are still logged in when the browser is re-opened!! :/
Here's my config/session.php:
<?php return [ 'driver' => env('SESSION_DRIVER', 'file'), 'lifetime' => 1, 'expire_on_close' => true, 'encrypt' => false, 'files' => storage_path('framework/sessions'), 'connection' => null, 'table' => 'sessions', 'lottery' => [2, 100], 'cookie' => 'laravel_session', 'path' => '/', 'domain' => null, 'secure' => false, ];