2020-11-16 07:09:05 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module RecaptchaHelper
|
2021-11-02 11:12:22 -04:00
|
|
|
def recaptcha_enabled?
|
2020-11-16 07:09:05 -05:00
|
|
|
!!Gitlab::Recaptcha.enabled?
|
|
|
|
end
|
2021-11-02 11:12:22 -04:00
|
|
|
alias_method :show_recaptcha_sign_up?, :recaptcha_enabled?
|
2020-11-16 07:09:05 -05:00
|
|
|
end
|
2021-09-13 17:08:53 -04:00
|
|
|
|
|
|
|
RecaptchaHelper.prepend_mod
|