Log but ignore signature errors.

This commit is contained in:
lain 2018-02-18 22:40:08 +01:00
parent 76e71f47d3
commit e368b68dcf

View File

@ -41,6 +41,11 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
end end
end end
def inbox(conn, params) do
Logger.info("Signature error.")
Logger.info(conn.req_headers)
json(conn, "ok")
end
def ap_enabled_actor(id) do def ap_enabled_actor(id) do
user = User.get_by_ap_id(id) user = User.get_by_ap_id(id)
if User.ap_enabled?(user) do if User.ap_enabled?(user) do