diff --git a/lib/philomena_web/endpoint.ex b/lib/philomena_web/endpoint.ex index e09d7deb..cd2a8a28 100644 --- a/lib/philomena_web/endpoint.ex +++ b/lib/philomena_web/endpoint.ex @@ -46,7 +46,9 @@ defmodule PhilomenaWeb.Endpoint do encryption_salt: "authenticated encrypted cookie" plug Pow.Plug.Session, otp_app: :philomena - plug PowPersistentSession.Plug.Cookie, otp_app: :philomena + plug PowPersistentSession.Plug.Cookie, + otp_app: :philomena, + persistent_session_cookie_opts: [extra: "SameSite=Lax"] plug PhilomenaWeb.ReloadUserPlug plug PhilomenaWeb.RenderTimePlug