Retrospring/config/initializers/hcaptcha.rb

7 lines
204 B
Ruby
Raw Normal View History

2020-05-23 07:49:03 -07:00
return unless 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)
2020-05-27 14:27:54 -07:00
end