I have a page with a some content on it and a comments section. Comments can only be left by users who are signed in so I have added a login form to the page for users to si
in your RedirectIfAuthenticated.php change this code
public function handle($request, Closure $next, $guard = null) { if (Auth::guard($guard)->check()) { return redirect()->intended('/contactus'); } return $next($request); }
please notice to :
return redirect()->intended('/contactus');