From 1fb6c483ed36d14bb02f5e59bb6e0b0ab79278b2 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 8 Dec 2024 00:48:42 +0100 Subject: [PATCH] Temporarily allow insecure cookies --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8343f65..7cb39a8 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -59,7 +59,7 @@ class ApplicationController < ActionController::Base def set_csrf_cookie cookies['csrf-token'] = { value: form_authenticity_token, - secure: Rails.env.production?, + secure: false, same_site: :strict } end