From e368b68dcfea8f12fe0343bd16b035272f67f615 Mon Sep 17 00:00:00 2001 From: lain Date: Sun, 18 Feb 2018 22:40:08 +0100 Subject: [PATCH] Log but ignore signature errors. --- lib/pleroma/web/activity_pub/activity_pub_controller.ex | 5 +++++ 1 file changed, 5 insertions(+) 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 @@ 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