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

10 lines
212 B
Ruby

# frozen_string_literal: true
module RecaptchaHelper
def recaptcha_enabled?
!!Gitlab::Recaptcha.enabled?
end
alias_method :show_recaptcha_sign_up?, :recaptcha_enabled?
end
RecaptchaHelper.prepend_mod