feat(support#create): block with invisible captcha [avoid painful captcha]
This commit is contained in:
parent
ec6c71beea
commit
252eee272b
9 changed files with 87 additions and 42 deletions
12
config/initializers/invisible_captcha.rb
Normal file
12
config/initializers/invisible_captcha.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
InvisibleCaptcha.setup do |config|
|
||||
# config.honeypots << ['more', 'fake', 'attribute', 'names']
|
||||
# config.visual_honeypots = false
|
||||
# config.timestamp_threshold = 2
|
||||
config.timestamp_enabled = !Rails.env.test?
|
||||
# config.injectable_styles = false
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue