Tie etag to sessions

So that we don't get CSRF token issues if sharing sessions in the same browser
This commit is contained in:
Jorge Manrubia
2025-09-15 16:29:57 +02:00
parent 7bb7cb9f6e
commit 2e4138b585
@@ -8,6 +8,8 @@ module Authentication
before_action :require_authentication
helper_method :authenticated?
etag { Current.session.id if authenticated? }
include LoginHelper
end