billhimmelsbach/recaptcha-rails

The section about the .env file needs to be brought up-to-date

Opened this issue · 0 comments

The section about setting up the .env file needs to be brought up-to-date with how it is now with Google and the gem.

Specifically, the following two lines:

export RECAPTCHA_PUBLIC_KEY = 'YOUR_PUBLIC_KEY'
export RECAPTCHA_PRIVATE_KEY = 'YOUR_PRIVATE_KEY'

Need to become:

export RECAPTCHA_SITE_KEY = 'YOUR_PUBLIC_KEY'
export RECAPTCHA_SECRET_KEY = 'YOUR_PRIVATE_KEY'

Otherwise you get error:
Recaptcha::RecaptchaError in ...
No site key specified.