Skip to content

Commit

Permalink
forget only the chief password hash out of session on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Damen committed Jun 23, 2020
1 parent b717006 commit 3498c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function logout(Request $request)
{
Auth::guard('chief')->logout();

$request->session()->invalidate();
$request->session()->forget('chief_password_hash');

return redirect('/');
}
Expand Down

0 comments on commit 3498c9a

Please sign in to comment.