Updated CSRF plug to not throw an exception

This commit is contained in:
Kieran Eglin 2024-05-27 11:41:05 -07:00
parent 7603ba017f
commit 1305a485a0
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -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