title: Laravel how to remove url query params?
body: <p>I request api to check user , and the backurl will add  a query param  <strong>token</strong> like this :</p>
  
  <pre><code>www.test.com?store_id=2&amp;token = 123
  </code></pre>
  
  <p>I want to show this  </p>
  
  <pre><code> www.test.com?store_id=2
  </code></pre>
  
  <p>I handle it in middleware , I wish there is a mothod to remove <strong>token</strong>  before <code>return $next($request)</code>
  but I didn't find the method. And I can't just use some method to delte this params and redirect , it will make a redirect loop. 
  if there is no better method, maybe I will create a new method in LoginController to remove token and redirect to where the page I from. </p>