2021-12-29 14:00:47 +01:00
|
|
|
InvisibleCaptcha.setup do |config|
|
|
|
|
# config.honeypots << ['more', 'fake', 'attribute', 'names']
|
|
|
|
# config.visual_honeypots = false
|
|
|
|
# config.timestamp_threshold = 2
|
|
|
|
config.timestamp_enabled = !Rails.env.test?
|
2022-08-30 15:39:01 +02:00
|
|
|
config.injectable_styles = true
|
2021-12-29 14:00:47 +01:00
|
|
|
config.spinner_enabled = !Rails.env.test?
|
|
|
|
|
|
|
|
# Leave these unset if you want to use I18n (see below)
|
|
|
|
# config.sentence_for_humans = 'If you are a human, ignore this field'
|
|
|
|
# config.timestamp_error_message = 'Sorry, that was too quick! Please resubmit.'
|
|
|
|
end
|