Removed some Rack configs and moved RackAttack rate limits, headers
• Removed: - some Rack configs and moved RackAttack rate limits, headers
This commit is contained in:
@@ -8,8 +8,6 @@ class Api::BaseController < ApplicationController
|
||||
MAX_LIMIT_PARAM = 25
|
||||
MIN_UNAUTHENTICATED_PAGES = 1
|
||||
|
||||
include RateLimitHeaders
|
||||
|
||||
skip_before_action :store_current_location
|
||||
skip_before_action :check_user_permissions
|
||||
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
class EmptyController < ActionController::Base
|
||||
|
||||
include RateLimitHeaders
|
||||
|
||||
protect_from_forgery with: :null_session
|
||||
|
||||
rescue_from ActiveRecord::RecordInvalid, GabSocial::ValidationError do |e|
|
||||
|
||||
Reference in New Issue
Block a user