Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252)
This commit is contained in:
@@ -8,7 +8,7 @@ class MediaProxyController < ApplicationController
|
||||
|
||||
skip_before_action :require_functional!
|
||||
|
||||
before_action :authenticate_user!, if: :whitelist_mode?
|
||||
before_action :authenticate_user!, if: :limited_federation_mode?
|
||||
|
||||
rescue_from ActiveRecord::RecordInvalid, with: :not_found
|
||||
rescue_from Mastodon::UnexpectedResponseError, with: :not_found
|
||||
|
Reference in New Issue
Block a user