From ddd7640de81ca13fd60409684bd951fd606fe3e7 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Mon, 2 Mar 2020 13:06:54 +0200 Subject: [PATCH] Fix cookie SameSite policy --- lib/plausible_web/endpoint.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible_web/endpoint.ex b/lib/plausible_web/endpoint.ex index 166439772..3b6ac8c98 100644 --- a/lib/plausible_web/endpoint.ex +++ b/lib/plausible_web/endpoint.ex @@ -39,7 +39,7 @@ defmodule PlausibleWeb.Endpoint do 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 - extra: "SameSite=Strict" + extra: "SameSite=Lax" plug CORSPlug