gitlab-org--gitlab-foss/config/initializers/invisible_captcha.rb
Alex Buijs a8da0de528
Add invisible captcha
With a time treshold of 4 seconds
and a firstname and lastname honeypot
input fields when signing up
2019-08-10 12:24:53 +02:00

7 lines
181 B
Ruby

# frozen_string_literal: true
InvisibleCaptcha.setup do |config|
config.honeypots = %w(firstname lastname)
config.timestamp_enabled = true
config.timestamp_threshold = 4
end