Commit 5bc76280 authored by lain's avatar lain
Browse files


parent 59ad395f
Pipeline #835 failed with stage
in 2 minutes and 12 seconds
......@@ -34,7 +34,8 @@ def inbox(%{assigns: %{valid_signature: true}} = conn, params) do
def inbox(conn, params) do
if !(String.contains(conn.req_headers["signature"] || "", params["actor"])) do
headers = Enum.into(conn.req_headers, %{})
if !(String.contains(headers["signature"] || "", params["actor"])) do"Signature not from author, relayed message, ignoring.")
else"Signature error.")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment