Merge branch 'feature/clarify-http-sig-error' into 'develop'

clarify HTTP signature error in logs

See merge request pleroma/pleroma!165
This commit is contained in:
lambda 2018-05-21 21:20:41 +00:00
commit b4064dfe30

View File

@ -93,7 +93,7 @@ def inbox(conn, params) do
Logger.info("Signature not from author, relayed message, fetching from source")
ActivityPub.fetch_object_from_id(params["object"]["id"])
else
Logger.info("Signature error")
Logger.info("Signature error - make sure you are forwarding the HTTP Host header!")
Logger.info("Could not validate #{params["actor"]}")
Logger.info(inspect(conn.req_headers))
end