From 0b81968e84e0f83366f43426cdd85b8d80b301d5 Mon Sep 17 00:00:00 2001 From: ayuki_j <19406594+ayuki-joto@users.noreply.github.com> Date: Wed, 30 Oct 2024 03:26:03 +0900 Subject: [PATCH] fix: refactor session --- config/environments/production.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 6c1f2f8fb..64c4bb6ec 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -52,6 +52,7 @@ # Use a different cache store in production. # config.cache_store = :mem_cache_store config.cache_store = :redis_cache_store, { url: ENV.fetch("REDIS_CACHE_URL", nil) } + config.session_store(:cache_store, key: "decidim_session") # Use a real queuing backend for Active Job (and separate queues per environment) # config.active_job.queue_adapter = :resque