Merge pull request 'Temporarily allow insecure cookies' (#169) from temp-allow-insecure-cookie into main
Some checks failed
Check usage of free licenses / check-licenses (push) Successful in 1m9s
Run unit tests / unit_tests (push) Successful in 3m9s
Build Nginx-based docker image / build-static-assets (push) Failing after 10m47s

Reviewed-on: #169
This commit is contained in:
bustikiller 2024-12-07 23:49:29 +00:00
commit 64f34a71dc

View File

@ -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