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
committerEugen Rochko <eugen@zeonfederated.com>2019-10-24 22:45:35 +0200
commitbd684e25d9ddb77e396e28a39ff221e9db28e608 (patch)
tree824af0d7a6a96c87781c3209f00b74d4aa20237c /app/controllers
parentfccf83e1f2ecd4e23f7b1faee5330976d17da7b8 (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 bcfc1e6d4..291eec19a 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