From 56d67ae64670a85f7f609af1bd5b8e8d0595b96d Mon Sep 17 00:00:00 2001 From: Cristen Jones Date: Fri, 24 May 2024 07:45:37 -0400 Subject: [PATCH] fixup(DotcomWeb.Endpoint): add secure attribute to session key --- lib/dotcom_web/endpoint.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dotcom_web/endpoint.ex b/lib/dotcom_web/endpoint.ex index 5a4ef58f73..7a15a337b7 100644 --- a/lib/dotcom_web/endpoint.ex +++ b/lib/dotcom_web/endpoint.ex @@ -5,7 +5,8 @@ defmodule DotcomWeb.Endpoint do @session_options store: :cookie, key: "_site_key", - signing_salt: "TInvb4GN" + signing_salt: "TInvb4GN", + secure: true @doc """ Callback invoked for dynamically configuring the endpoint.