MattCroft11 years ago Best Answer Level 3ReplyReport SpamI've always used: Session::flush(); And extending the AuthController's logout function like so /** * Log the user out of the application. * * @return \Illuminate\Http\Response */ public function getLogout() { $this->auth->logout(); Session::flush(); return redirect('/'); } Like Reply 1 like
skihansen OP 11 years agoLevel 3ReplyReport SpamThanks! I'm new to Laravel, so I wasn't sure how to extend the logout function. Adding your code to AuthController.php along with: use Session; is all I needed. Like Reply