diff options
author | ThibG <thib@sitedethib.com> | 2021-01-19 06:47:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 06:47:36 +0100 |
commit | 2ff01f78f79d0b075e127a6aee05c4c429daf569 (patch) | |
tree | cb202a3f89a64f27da6a1bc98faa62207e4b8fa5 | |
parent | e46b50e805e80d78c0efa39af3bd822912f2cdb9 (diff) |
Fix /activity endpoint not require signature in authorized fetch mode (#15592)
Fixes #15589 Co-authored-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r-- | app/controllers/statuses_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rb index 17ddd31fb..87612a296 100644 --- a/app/controllers/statuses_controller.rb +++ b/app/controllers/statuses_controller.rb @@ -8,7 +8,7 @@ class StatusesController < ApplicationController layout 'public' - before_action :require_signature!, only: :show, if: -> { request.format == :json && authorized_fetch_mode? } + before_action :require_signature!, only: [:show, :activity], if: -> { request.format == :json && authorized_fetch_mode? } before_action :set_status before_action :set_instance_presenter before_action :set_link_headers |