Log but ignore signature errors.
authorlain <lain@soykaf.club>
Sun, 18 Feb 2018 21:40:08 +0000 (22:40 +0100)
committerlain <lain@soykaf.club>
Sun, 18 Feb 2018 21:40:08 +0000 (22:40 +0100)
lib/pleroma/web/activity_pub/activity_pub_controller.ex

index da4973fe571e7e4db431c4844b9ed615658b50f2..7c4f7d24940591bed4fbca81fada2a1c099ebf0e 100644 (file)
@@ -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