Skip to content
Permalink
Browse files

regenerate token on logout

  • Loading branch information
taylorotwell committed Dec 30, 2019
1 parent 9308a4e commit b2af428e60188ea55fb06f3a1e0b0b0c690bbe86
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Illuminate/Foundation/Auth/AuthenticatesUsers.php
@@ -159,6 +159,8 @@ public function logout(Request $request)
$request->session()->invalidate();
$request->session()->regenerateToken();
return $this->loggedOut($request) ?: redirect('/');
}

0 comments on commit b2af428

Please sign in to comment.
You can’t perform that action at this time.