When I use the built-in Authentication and try to log the user out at /auth/logout
- it does not work as hoped. It appears to keep the user logged in. But when I clear my browser cache, I can see that is has actually logged the user out.
I don't get any errors on the page nor errors in the log file.
I am guessing that Session::flush()
at the logout method would possibly solve this - but I don't know where to put it.. Can someone point me in the right direction?