From ad46d2ec07668fd58afc43124f198f8a09070a3d Mon Sep 17 00:00:00 2001 From: Sal Scotto Date: Wed, 13 May 2026 12:15:33 -0600 Subject: [PATCH] Potential fix for code scanning alert no. 3: CSRF protection not enabled Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- spec/dummy/app/controllers/application_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/dummy/app/controllers/application_controller.rb b/spec/dummy/app/controllers/application_controller.rb index 7944f9f..280cc28 100644 --- a/spec/dummy/app/controllers/application_controller.rb +++ b/spec/dummy/app/controllers/application_controller.rb @@ -1,4 +1,5 @@ # frozen_string_literal: true class ApplicationController < ActionController::Base + protect_from_forgery with: :exception end