Fix anonymous visitors getting a session cookie on first visit (#24584)

This commit is contained in:
Claire
2023-04-25 16:51:38 +02:00
committed by GitHub
parent 6084461cd0
commit 276c39361b
8 changed files with 64 additions and 26 deletions

View File

@ -6,7 +6,6 @@ class MediaProxyController < ApplicationController
include Redisable
include Lockable
skip_before_action :store_current_location
skip_before_action :require_functional!
before_action :authenticate_user!, if: :whitelist_mode?