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 @@ def inbox(%{assigns: %{valid_signature: true}} = conn, params) do
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
user = User.get_by_ap_id(id)
if User.ap_enabled?(user) do