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
|