guard($guard)->check()) { return redirect()->route("dashboard.index"); } return $next($request); } }