settings_helper.rb 172 B

1234567
  1. # frozen_string_literal: true
  2. module Admin::SettingsHelper
  3. def captcha_available?
  4. ENV['HCAPTCHA_SECRET_KEY'].present? && ENV['HCAPTCHA_SITE_KEY'].present?
  5. end
  6. end