Skip to content

Commit

Permalink
Merge pull request #442 from sanger/remove-forgery-protection
Browse files Browse the repository at this point in the history
chore: Disable CSRF protection in application.
  • Loading branch information
stevieing authored Jul 16, 2024
2 parents 8d8c501 + ef5a957 commit 765dab4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ class Application < Rails::Application
config.active_record.belongs_to_required_by_default = true

config.active_record.legacy_connection_handling = false

config.action_controller.default_protect_from_forgery = false
end
end

0 comments on commit 765dab4

Please sign in to comment.