about summary refs log tree commit diff
path: root/app/helpers/admin/settings_helper.rb
blob: 552a3ee5a86be8ed17bac1f94bcc3732a38e15db (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

module Admin::SettingsHelper
  def captcha_available?
    ENV['HCAPTCHA_SECRET_KEY'].present? && ENV['HCAPTCHA_SITE_KEY'].present?
  end
end