Fix cookie SameSite policy

This commit is contained in:
Uku Taht 2020-03-02 13:06:54 +02:00
parent d701f221fe
commit ddd7640de8

View File

@ -39,7 +39,7 @@ defmodule PlausibleWeb.Endpoint do
key: "_plausible_key", key: "_plausible_key",
signing_salt: "3IL0ob4k", 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" extra: "SameSite=Lax"
plug CORSPlug plug CORSPlug