Retrospring/config/initializers/hcaptcha.rb

6 lines
203 B
Ruby
Raw Normal View History

2020-05-22 13:29:22 -07:00
if APP_CONFIG.dig(:hcaptcha, :enabled)
Hcaptcha.configure do |config|
config.site_key = APP_CONFIG.dig(:hcaptcha, :site_key)
config.secret_key = APP_CONFIG.dig(:hcaptcha, :secret_key)
end
end