Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/one_trust_helper.rb')
-rw-r--r--app/helpers/one_trust_helper.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/helpers/one_trust_helper.rb b/app/helpers/one_trust_helper.rb
index 9f92a73a4d4..55364d36a0e 100644
--- a/app/helpers/one_trust_helper.rb
+++ b/app/helpers/one_trust_helper.rb
@@ -4,7 +4,6 @@ module OneTrustHelper
def one_trust_enabled?
Feature.enabled?(:ecomm_instrumentation, type: :ops) &&
Gitlab.config.extra.has_key?('one_trust_id') &&
- Gitlab.config.extra.one_trust_id.present? &&
- !current_user
+ Gitlab.config.extra.one_trust_id.present?
end
end