session fix 3

This commit is contained in:
2026-05-05 20:06:42 +02:00
parent d4da06a6fd
commit 69379edc29
+1 -1
View File
@@ -24,7 +24,7 @@ module Api
# Traefik terminates SSL so Rails sees HTTP internally; disable the origin
# header check (CSRF token itself is still validated)
config.action_dispatch.forgery_protection_origin_check = false
config.action_controller.forgery_protection_origin_check = false
config.autoload_lib(ignore: %w[assets tasks])
end