Merge pull request #5435 from consuldemocracy/dependabot/bundler/invisible_captcha-2.3.0

Bump invisible_captcha from 2.1.0 to 2.3.0
This commit is contained in:
Javi Martín
2024-03-27 16:31:40 +01:00
committed by GitHub
3 changed files with 8 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ gem "graphql", "~> 1.13.22"
gem "groupdate", "~> 6.4.0"
gem "image_processing", "~> 1.12.2"
gem "initialjs-rails", "~> 0.2.0.9"
gem "invisible_captcha", "~> 2.1.0"
gem "invisible_captcha", "~> 2.3.0"
gem "jquery-fileupload-rails"
gem "kaminari", "~> 1.2.2"
gem "mini_magick", "~> 4.12.0"

View File

@@ -289,7 +289,7 @@ GEM
ruby-vips (>= 2.0.17, < 3)
initialjs-rails (0.2.0.9)
railties (>= 3.1, < 7.0)
invisible_captcha (2.1.0)
invisible_captcha (2.3.0)
rails (>= 5.2)
jquery-fileupload-rails (1.0.0)
actionpack (>= 3.1)
@@ -333,7 +333,7 @@ GEM
net-imap
net-pop
net-smtp
marcel (1.0.2)
marcel (1.0.4)
matrix (0.4.2)
mdl (0.13.0)
kramdown (~> 2.3)
@@ -741,7 +741,7 @@ DEPENDENCIES
i18n-tasks (~> 0.9.37)
image_processing (~> 1.12.2)
initialjs-rails (~> 0.2.0.9)
invisible_captcha (~> 2.1.0)
invisible_captcha (~> 2.3.0)
jquery-fileupload-rails
kaminari (~> 1.2.2)
knapsack_pro (~> 7.0.1)

View File

@@ -2,6 +2,10 @@ InvisibleCaptcha.setup do |config|
config.visual_honeypots = false
config.spinner_enabled = false
config.timestamp_threshold = 4.seconds
# config.honeypots << ['more', 'fake', 'attribute', 'names']
# config.timestamp_enabled = true
# config.injectable_styles = false
# Leave these unset if you want to use I18n (see below)
# config.error_message = 'You are a robot!'
# config.sentence_for_humans = 'If you are a human, ignore this field'