Commit 8be9da53 authored by André Hänsel's avatar André Hänsel

Set experimentation cookie for GitLab domain only

Previously the cookie experimentation_subject_id was set for the top
domain, even when GitLab was installed on a subdomain. This commit
changes that so that the cookie is only installed for the GitLab domain.
This brings it in line with all the other cookies that GitLab sets.
parent b806be2b
---
title: Set experiementation cookie for GitLab domain only
merge_request:
author:
type: fixed
......@@ -57,7 +57,6 @@ module Gitlab
cookies.permanent.signed[:experimentation_subject_id] = {
value: SecureRandom.uuid,
domain: :all,
secure: ::Gitlab.config.gitlab.https,
httponly: true
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment