From f9a8f2944abe8d04d843071521fd991cc5ddc233 Mon Sep 17 00:00:00 2001 From: Tangui <29804907+tanguilp@users.noreply.github.com> Date: Thu, 24 Oct 2024 22:45:31 +0300 Subject: [PATCH] Set the connect_option default options to `[]` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: José Valim --- lib/phoenix/socket/transport.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/phoenix/socket/transport.ex b/lib/phoenix/socket/transport.ex index a425f56131..82f1bbb382 100644 --- a/lib/phoenix/socket/transport.ex +++ b/lib/phoenix/socket/transport.ex @@ -465,7 +465,7 @@ defmodule Phoenix.Socket.Transport do The CSRF check can be disabled with the `:check_csrf` option. """ - def connect_info(conn, endpoint, keys, opts \\ [check_csrf: true]) do + def connect_info(conn, endpoint, keys, opts \\ []) do for key <- keys, into: %{} do case key do :peer_data ->