Skip to content

Commit

Permalink
Reflash even when forgetting
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink authored Sep 20, 2022
1 parent 91c7723 commit c98dbd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RememberQueryStrings.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ protected function forget($next, $request)
{
$request->session()->remove('remember_query_strings.'.$request->route()->getName());

$request->session()->reflash();

return redirect(url($request->path()));
}
}

0 comments on commit c98dbd0

Please sign in to comment.