Skip to content

Commit

Permalink
Fix code scanning alert no. 1: CSRF protection not enabled
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
1 parent a0053b0 commit 109f387
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/dummy/app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
end

0 comments on commit 109f387

Please sign in to comment.