Skip to content
Snippets Groups Projects
Unverified Commit 2ff01f78 authored by ThibG's avatar ThibG Committed by GitHub
Browse files

Fix /activity endpoint not require signature in authorized fetch mode (#15592)


Fixes #15589

Co-authored-by: default avatarClaire <claire.github-309c@sitedethib.com>
parent e46b50e8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment