title: User can't authenticate Laravel
body: <p>User login fails. If the user data is entered there is a redirect but immediately redirect back to login. On the login page there are no errors.</p>
  <p>This is the RedirectIfAuthenticated code]. The request is empty and can't pass the if.</p>
  <pre><code>public function handle($request, Closure $next, $guard = null)
  {
      if (Auth::guard($guard)-&gt;check()) {
          return redirect('/artworks');
      }
  
      return $next($request);
  }
  </code></pre>