cookie("XSRF-TOKEN"))return redirect("login"); return $next($request); } }