diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-10 06:06:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-10 06:06:28 +0300 |
commit | ee97c0d1a2dd452829d2cf6ec150045536bd74d5 (patch) | |
tree | 95d2551999b44d70842e156877d1d71145baba9f /lib | |
parent | 308146dc398fd4c13453048105498018459e0985 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/lets_encrypt.rb | 4 |
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 |