Skip to content

Commit 5b2b1b6

Browse files
committed
dont expose secret key for recaptcha
1 parent cbe0ca4 commit 5b2b1b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/initializers/recaptcha.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Recaptcha.configure do |config|
2-
config.public_key = '6Lcg3SkUAAAAAO4yYqDriPdh-er7islVavz1m-X2'
3-
config.private_key = '6Lcg3SkUAAAAAEKwJT0Xy-U8XRC8_Qhc1w6FlZRv'
2+
config.public_key = '6Lc35yoUAAAAACUODLMbUxj4pC7NfUt5s-i76Z7D'
3+
config.private_key = Rails.application.secret('recaptcha_secret')
44
end

0 commit comments

Comments
 (0)