From: lain Date: Sun, 18 Feb 2018 21:40:08 +0000 (+0100) Subject: Log but ignore signature errors. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e368b68dcfea8f12fe0343bd16b035272f67f615;p=akkoma Log but ignore signature errors. --- diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index da4973fe5..7c4f7d249 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -41,6 +41,11 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController 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