Reputation: 1929
We've set up this
'expire_on_close' => true,
in config/session.php
However we are still not able to get our users to logout when they close their browser.
Anything else we can try?
Upvotes: 0
Views: 1595
Reputation: 1
After making the change try:
php artisan config:cache
php artisan config:clear
Upvotes: 0
Reputation: 1168
config/session.php :: expire_on_close
should work just fine, except in the case you used "Remember me" functionality.
Upvotes: 2