2019-06-13 07:37:45 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module LetsEncrypt
|
2019-07-12 12:53:44 -04:00
|
|
|
def self.enabled?
|
|
|
|
Gitlab::CurrentSettings.lets_encrypt_terms_of_service_accepted
|
2019-06-13 07:37:45 -04:00
|
|
|
end
|
2019-10-09 23:06:28 -04:00
|
|
|
|
|
|
|
def self.terms_of_service_url
|
|
|
|
::Gitlab::LetsEncrypt::Client.new.terms_of_service_url
|
|
|
|
end
|
2019-06-13 07:37:45 -04:00
|
|
|
end
|
|
|
|
end
|