We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f207981 commit 7458413Copy full SHA for 7458413
1 file changed
config/initializers/recaptcha.rb
@@ -5,7 +5,7 @@
5
# the keys are set in config/credentials.yml.env
6
7
Recaptcha.configure do |config|
8
- config.site_key = Rails.application.credentials.recaptcha[:site_key]
9
- config.secret_key = Rails.application.credentials.recaptcha[:secret_key]
+ config.site_key = ENV["RECAPTCHA_SITE_KEY"]
+ config.secret_key = ENV["RECAPTCHA_SECRET_KEY"]
10
config.proxy = 'http://someproxy.com:port'
11
end
0 commit comments