1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/initializers/recaptcha.rb

12 lines
361 B
Ruby
Raw Normal View History

2018-12-13 21:13:49 -05:00
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
Rails.application.settings(:recaptcha).presence.try do |settings|
Recaptcha.configure do |config|
config.site_key = settings[:site_key]
config.secret_key = settings[:secret_key]
config.skip_verify_env = %w[development test cucumber]
end
end