diff --git a/lib/pinchflat_web/router.ex b/lib/pinchflat_web/router.ex index 1e1ee7d..daf3b9a 100644 --- a/lib/pinchflat_web/router.ex +++ b/lib/pinchflat_web/router.ex @@ -10,7 +10,7 @@ defmodule PinchflatWeb.Router do plug :fetch_session plug :fetch_live_flash plug :put_root_layout, html: {PinchflatWeb.Layouts, :root} - plug :protect_from_forgery + plug :protect_from_forgery, with: :clear_session plug :put_secure_browser_headers plug :allow_iframe_embed end