Fix functional user requirements in whitelist mode (#14093)
Fixes #14092
This commit is contained in:
parent
b1d492f30a
commit
ac8a788370
9 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@ class FollowingAccountsController < ApplicationController
|
|||
before_action :set_cache_headers
|
||||
|
||||
skip_around_action :set_locale, if: -> { request.format == :json }
|
||||
skip_before_action :require_functional!
|
||||
skip_before_action :require_functional!, unless: :whitelist_mode?
|
||||
|
||||
def index
|
||||
respond_to do |format|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue