debian-mirror-gitlab/app/helpers/recaptcha_experiment_helper.rb
2019-12-04 20:38:33 +05:30

9 lines
211 B
Ruby

# frozen_string_literal: true
module RecaptchaExperimentHelper
def show_recaptcha_sign_up?
!!Gitlab::Recaptcha.enabled?
end
end
RecaptchaExperimentHelper.prepend_if_ee('EE::RecaptchaExperimentHelper')