Welcome to mirror list, hosted at ThFree Co, Russian Federation.

recaptcha_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b17ab4b815a052a04b159d4c3103fb5d2fa314e (plain)
1
2
3
4
5
6
7
8
9
10
# 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