Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant custom SameSiteSecurity::Middleware #2628

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
require "action_view/railtie"
# require "action_cable/engine"
require "rails/test_unit/railtie"
require_relative "../lib/same_site_security/middleware"

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Expand Down Expand Up @@ -64,8 +63,6 @@ class Application < Rails::Application

config.active_job.queue_adapter = :sidekiq

config.middleware.insert_before 0, SameSiteSecurity::Middleware

config.action_dispatch.return_only_media_type_on_content_type = true

# Set asset path to be application specific so that we can put all GOV.UK
Expand Down
20 changes: 0 additions & 20 deletions lib/same_site_security/middleware.rb

This file was deleted.

21 changes: 0 additions & 21 deletions test/lib/same_site_security/middleware_test.rb

This file was deleted.

Loading