about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-10-24 22:45:35 +0200
committermultiple creatures <dev@multiple-creature.party>2020-02-21 01:19:36 -0600
commite5bb8b27e96a3a803aa5b6eda783908e5d49c341 (patch)
treec5c36310b7995d24568b39f02d35da03af15c6f9 /app/controllers
parent8a7020dde819bbabee6bd55dc8a0d3b8b51e258b (diff)
Fix incoming federation in whitelist mode (#12185)
… posting to the AP inbox required a logged-in local user…
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/activitypub/inboxes_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/activitypub/inboxes_controller.rb b/app/controllers/activitypub/inboxes_controller.rb
index 1009967dd..ffb7b7a69 100644
--- a/app/controllers/activitypub/inboxes_controller.rb
+++ b/app/controllers/activitypub/inboxes_controller.rb
@@ -7,6 +7,7 @@ class ActivityPub::InboxesController < ActivityPub::BaseController
 
   before_action :skip_unknown_actor_delete
   before_action :require_signature!
+  skip_before_action :authenticate_user!
 
   def create
     upgrade_account