Commit df73a9c6 authored by lain's avatar lain

.

parent 5bc76280
Pipeline #836 failed with stage
in 2 minutes and 34 seconds
......@@ -35,7 +35,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
def inbox(conn, params) do
headers = Enum.into(conn.req_headers, %{})
if !(String.contains(headers["signature"] || "", params["actor"])) do
if !(String.contains?(headers["signature"] || "", params["actor"])) do
Logger.info("Signature not from author, relayed message, ignoring.")
else
Logger.info("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