title: laravel 5.2 redirect to intended url after login
body: <p>I'm struggeling with my routing in my laravel 5.2 application.</p>
  
  <p>The intended behaviour is:</p>
  
  <ol>
  <li>Unregistered User trys to access protected page</li>
  <li>Redirected to Login</li>
  <li>Redirected (on success) to intended page</li>
  </ol>
  
  <p>Of course the user should be redirected to his "dashboard" if there is no intended page (when he activly logged in)</p>
  
  <p>Example:</p>
  
  <pre><code>/* Create a Payment | Only for registered Users (client) */
  Route::post('payment', 'PaymentController@create')-&gt;middleware('client'); 
  </code></pre>
  
  <p>The User will be redirected to the login page, however, after the login, he will be redirected to the page i defined in my authcontroller as $redirectTo</p>
  
  <pre><code>protected $redirectTo = '/backoffice';
  </code></pre>
  
  <p>Is there a way to set the redirect to something like (inteded <strong>or</strong> default)</p>