title: How to change default login URL in Laravel 5?
body: <p>i use module in my project</p>
  
  <pre><code>App -&gt; 
     Modules -&gt;
        Admin -&gt; 
            Http -&gt;
                controller
                middleware
                request
  </code></pre>
  
  <p>how i use authenticate and redirect auth file in this middleware 
  authenticate file or redirectauth file in this middleware</p>
  
  <p>authenticate.php</p>
  
  <pre><code>public function handle($request, Closure $next)
      {
          if ($this-&gt;auth-&gt;guest()) {
              if ($request-&gt;ajax()) {
                  return response('Unauthorized.', 401);
              } else {
                  // return redirect()-&gt;guest('auth/login');
                  return redirect()-&gt;guest('admin');
              }
          }
  
          return $next($request);
      }
  </code></pre>
  
  <p>redirectauthenticate.php</p>
  
  <pre><code> public function handle($request, Closure $next)
      {
          if ($this-&gt;auth-&gt;check()) {
              // return redirect('/home');
              return redirect('admin/dashbord');
          }
  
          return $next($request);
      }
  </code></pre>
  
  <p>how i solve this problem?</p>