Skip to content

Commit

Permalink
fixup(DotcomWeb.Endpoint): add secure attribute to session key
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed May 24, 2024
1 parent ec89ff9 commit 56d67ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dotcom_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 56d67ae

Please sign in to comment.