debian-mirror-gitlab/app/helpers/recaptcha_experiment_helper.rb

10 lines
211 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
# frozen_string_literal: true
module RecaptchaExperimentHelper
def show_recaptcha_sign_up?
!!Gitlab::Recaptcha.enabled?
end
end
2019-12-04 20:38:33 +05:30
RecaptchaExperimentHelper.prepend_if_ee('EE::RecaptchaExperimentHelper')