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

11 lines
212 B
Ruby
Raw Normal View History

# 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