gitlab-org--gitlab-foss/app/helpers/recaptcha_experiment_helper.rb

10 lines
211 B
Ruby
Raw Normal View History

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