Updated CSRF plug to not throw an exception
This commit is contained in:
parent
7603ba017f
commit
1305a485a0
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ defmodule PinchflatWeb.Router do
|
||||||
plug :fetch_session
|
plug :fetch_session
|
||||||
plug :fetch_live_flash
|
plug :fetch_live_flash
|
||||||
plug :put_root_layout, html: {PinchflatWeb.Layouts, :root}
|
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 :put_secure_browser_headers
|
||||||
plug :allow_iframe_embed
|
plug :allow_iframe_embed
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue