mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Don't halt idempotent requests
This commit is contained in:
parent
2f4383eef7
commit
cafba455cd
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ defmodule PhilomenaWeb.FilterBannedUsersPlug do
|
|||
end
|
||||
|
||||
defp maybe_halt_no_fingerprint(%{halted: true} = conn), do: conn
|
||||
defp maybe_halt_no_fingerprint(%{method: "GET"} = conn), do: conn
|
||||
|
||||
defp maybe_halt_no_fingerprint(conn) do
|
||||
conn = Conn.fetch_cookies(conn)
|
||||
|
|
Loading…
Reference in a new issue