mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-20 08:30:59 +00:00
.
This commit is contained in:
parent
5bc7628022
commit
df73a9c6d6
1 changed files with 1 additions and 1 deletions
|
@ -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.")
|
||||
|
|
Loading…
Reference in a new issue