diff --git a/lib/plausible_web/endpoint.ex b/lib/plausible_web/endpoint.ex index b66811631..166439772 100644 --- a/lib/plausible_web/endpoint.ex +++ b/lib/plausible_web/endpoint.ex @@ -38,7 +38,8 @@ defmodule PlausibleWeb.Endpoint do store: :cookie, key: "_plausible_key", signing_salt: "3IL0ob4k", - max_age: 60*60*24*365*5 # 5 years, this is super long but the SlidingSessionTimeout will log people out if they don't return for 2 weeks + max_age: 60*60*24*365*5, # 5 years, this is super long but the SlidingSessionTimeout will log people out if they don't return for 2 weeks + extra: "SameSite=Strict" plug CORSPlug