Skip to content

Commit

Permalink
chore: set same_site to strict (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwittstruck authored Dec 2, 2024
1 parent 6f758f7 commit 66fb292
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/qrstorage_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ defmodule QrstorageWeb.Endpoint do
store: :cookie,
secure: true,
key: "_qrstorage_key",
signing_salt: "w4G2Qpx/"
signing_salt: "w4G2Qpx/",
same_site: "Strict"
]

# Serve at "/" the static files from "priv/static" directory.
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ defmodule Qrstorage.MixProject do
def project do
[
app: :qrstorage,
version: "0.4.6",
elixir: "~> 1.11",
version: "0.5.0",
elixir: "~> 1.16",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
Expand Down

0 comments on commit 66fb292

Please sign in to comment.