Skip to content

Setting reCAPTCHA

funao edited this page Dec 13, 2016 · 1 revision

Setting Recaptcha

1: Access this site

https://www.google.com/recaptcha/intro/index.html

2: Regist your site

https://www.google.com/recaptcha/admin#list

3: Get SiteKey and SecretKey

recaptcha

4: Set SiteKey and SecretKey in notee.rb

edit in config/initializers/notee.rb

require 'notee'

# Recommendation using .env

Notee.configure do |config|

  ....

  # recaptcha
  config.recaptcha_key = "YOUR SITE KEY"
  config.recaptcha_secret_key = "YOUR SECRET KEY"
  
  ....
  
end