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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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