Set strict session for a week
This commit is contained in:
@@ -8,7 +8,9 @@ defmodule MusicLibraryWeb.Endpoint do
|
|||||||
store: :cookie,
|
store: :cookie,
|
||||||
key: "_music_library_key",
|
key: "_music_library_key",
|
||||||
signing_salt: "esP44C0z",
|
signing_salt: "esP44C0z",
|
||||||
same_site: "Lax"
|
same_site: "Strict",
|
||||||
|
# one week
|
||||||
|
max_age: 60 * 60 * 24 * 7
|
||||||
]
|
]
|
||||||
|
|
||||||
socket "/live", Phoenix.LiveView.Socket,
|
socket "/live", Phoenix.LiveView.Socket,
|
||||||
|
|||||||
Reference in New Issue
Block a user