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 12:04:49 -07:00
|
|
|
|
|
|
|
config.skip_verify_env.delete 'test'
|
2020-05-22 13:29:22 -07:00
|
|
|
end
|