title: Laravel 5.5: how to stop redirect to previous page after login
body: <p>I am using Laravel default authentication
  When user loges in I redirect him/her to /dashboard instead of /home</p>
  
  <p>changing this line in RedirectIfAuthenticated </p>
  
  <pre><code>return redirect('/home);`
  </code></pre>
  
  <p>to </p>
  
  <pre><code>return redirect('/dashboard');
  </code></pre>
  
  <p>now the if user hits another url that requires authentication lets say /abc it will redirect user to login but as soon as he/she gets login it takes user to /abc instead of /dashboard
  (As per my requirement)I want it to always take user to /dashboard whenever he/she loges in irrespective of previous page he/she was trying to hit</p>
  
  <p>Anybody got any idea which function is to be overwritten or anything...</p>