From 7dd84a6a8283a9cbe4541ac33718ff95e1b3ce7b Mon Sep 17 00:00:00 2001
From: Taico Aerts <t.v.aerts@tudelft.nl>
Date: Mon, 12 Sep 2022 20:53:38 +0200
Subject: [PATCH] Remove new defaults initializer

Otherwise, new checkouts/installs of the project would not run with
recommended settings.
---
 .../initializers/new_framework_defaults_6.rb  | 22 -------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 config/initializers/new_framework_defaults_6.rb

diff --git a/config/initializers/new_framework_defaults_6.rb b/config/initializers/new_framework_defaults_6.rb
deleted file mode 100644
index 63bec5f46..000000000
--- a/config/initializers/new_framework_defaults_6.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-# Once these settings are set to their new default values, rolling back to an
-# older version of rails becomes much harder, because the old rails is not
-# compatible with the new cookies/urls.
-#
-# Once the application is stable with this version of the system, comment all
-# lines below (or remove this file) to switch to the rails 6.1 settings.
-
-# Embed purpose and expiry metadata inside signed and encrypted
-# cookies for increased security.
-#
-# This option is not backwards compatible with earlier Rails versions.
-Rails.application.config.action_dispatch.use_cookies_with_metadata = false
-
-# Specify cookies SameSite protection level: either :none, :lax, or :strict.
-#
-# This change is not backwards compatible with earlier Rails versions.
-Rails.application.config.action_dispatch.cookies_same_site_protection = nil
-
-# Generate CSRF tokens that are encoded in URL-safe Base64.
-#
-# This change is not backwards compatible with earlier Rails versions.
-Rails.application.config.action_controller.urlsafe_csrf_tokens = false
\ No newline at end of file
-- 
GitLab