Restore legacy 403 for unauthenticated match updates

This commit is contained in:
Daniel Schädler 2026-04-12 19:38:35 +02:00
parent 4713a020fa
commit b02857782f
1 changed files with 0 additions and 1 deletions

View File

@ -3,7 +3,6 @@
class MatchesController < ApplicationController
before_action :set_match, only: %i[show update]
before_action :set_group, only: %i[create]
before_action :authenticate_user!, only: %i[create update]
before_action :validate_params, only: %i[update]
before_action -> { require_owner! @match.owner }, only: %i[update]
before_action -> { require_owner! @group.owner }, only: %i[create]