Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No public key specified #1

Open
willoughby opened this issue Feb 3, 2010 · 1 comment
Open

No public key specified #1

willoughby opened this issue Feb 3, 2010 · 1 comment

Comments

@willoughby
Copy link

Hi, I have followed you instructions but when generating a new ticket i get the following error:

app/views/tickets/new.html.erb where line #99 raised

No public key specified

Is there something I have missed or is there another step not documented

Thanks

@bigfolio
Copy link
Owner

bigfolio commented Feb 3, 2010

I recently added reCaptcha to the new ticket view. In order for this to work, you'll need to get reCaptcha API keys from:

http://recaptcha.net/api/getkey
(you'll need to create an account first)

Once you have your public and private API keys, you will need to add them to your config/environments/production.rb file (or development.rb if this is local). Mine are placed at the bottom of the file in this manner:

ENV['RECAPTCHA_PUBLIC_KEY'] = 'PUBLICKEYHERE'
ENV['RECAPTCHA_PRIVATE_KEY'] = 'PRIVATEKEYHERE'

Make sure to restart your server once you've done that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants