Skip to content

Commit

Permalink
Fix code scanning alert no. 1: CSRF protection not enabled (#19)
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
gael-ian and github-advanced-security[bot] authored Oct 1, 2024
1 parent abea859 commit ab587aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/dummy/app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
end

0 comments on commit ab587aa

Please sign in to comment.