Skip to content

Commit

Permalink
fix: protect_from_forgery should be configured with with: :exception
Browse files Browse the repository at this point in the history
  • Loading branch information
a-chacon committed Jul 29, 2024
1 parent 76af772 commit 11fd990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/oas_rails/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module OasRails
class ApplicationController < ActionController::Base
protect_from_forgery
protect_from_forgery with: :exception
end
end

0 comments on commit 11fd990

Please sign in to comment.