title: Laravel 5.5 change unauthenticated login redirect url
body: <p>In <code>Laravel &lt; 5.5</code> I could change this file <code>app/Exceptions/Handler</code> to change the unauthenticated user redirect url:</p>
  
  <pre><code>protected function unauthenticated($request, AuthenticationException $exception)
  {
      if ($request-&gt;expectsJson()) {
          return response()-&gt;json(['error' =&gt; 'Unauthenticated.'], 401);
      }
  
      return redirect()-&gt;guest(route('login'));
  }
  </code></pre>
  
  <p>But in <code>Laravel 5.5</code> this has been moved to this location <code>vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php</code> so how can I change it now? I don't want to change stuff in the vendor directory encase it gets overridden by composer updates.</p>
  
  <pre><code>protected function unauthenticated($request, AuthenticationException $exception)
  {
      return $request-&gt;expectsJson()
                  ? response()-&gt;json(['message' =&gt; 'Unauthenticated.'], 401)
                  : redirect()-&gt;guest(route('login'));
  }
  </code></pre>