1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-01 00:08:21 +09:00
mastodon/config/initializers/suppress_csrf_warnings.rb

6 lines
137 B
Ruby

# frozen_string_literal: true
Rails.application.reloader.to_prepare do
ActionController::Base.log_warning_on_csrf_failure = false
end