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:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-10 06:06:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-10 06:06:28 +0300
commitee97c0d1a2dd452829d2cf6ec150045536bd74d5 (patch)
tree95d2551999b44d70842e156877d1d71145baba9f /lib/gitlab/lets_encrypt.rb
parent308146dc398fd4c13453048105498018459e0985 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/lets_encrypt.rb')
-rw-r--r--lib/gitlab/lets_encrypt.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/lets_encrypt.rb b/lib/gitlab/lets_encrypt.rb
index 08ad2ab91b0..9d14b151f7d 100644
--- a/lib/gitlab/lets_encrypt.rb
+++ b/lib/gitlab/lets_encrypt.rb
@@ -5,5 +5,9 @@ module Gitlab
def self.enabled?
Gitlab::CurrentSettings.lets_encrypt_terms_of_service_accepted
end
+
+ def self.terms_of_service_url
+ ::Gitlab::LetsEncrypt::Client.new.terms_of_service_url
+ end
end
end