Skip to content

use tokens for recaptcha service registered on noosfero config file

config/noosfero.yml:
development:
  api_recaptcha_site_key: (put your token here)
  api_recaptcha_private_key: (put your token here)

the initializer file config/initializers/recaptcha.rb is going to use NOOSFERO_CONF to get keys values:

  • NOOSFERO_CONF['api_recaptcha_private_key']
  • NOOSFERO_CONF['api_recaptcha_site_key']
Edited by Joenio Marques da Costa

Merge request reports