Skip to content

archivesspace-plugins/aspace-recaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ArchivesSpace reCAPTCHA plugin

Add reCAPTCHA functionality to the ArchivesSpace PUI request form.

Versions

This plugin requires ArchivesSpace v2.8.1+.

Setup

You need API credentials for your site from the Google Admin Console:

https://www.google.com/recaptcha/about/

This plugin has only been tested with the reCAPTCHA v2 Checkbox API.

Add the site key and secret to AppConfig:

AppConfig[:recaptcha_site_key] = 'key'
AppConfig[:recaptcha_secret_key] = 'secret'
AppConfig[:plugins] << 'aspace-recaptcha' # add this plugin to the list

Alternatively you can use environment variables:

  • APPCONFIG_RECAPTCHA_SITE_KEY
  • APPCONFIG_RECAPTCHA_SECRET_KEY

Download the recaptcha plugin to your ArchivesSpace plugins directory then run the initialize script:

./scripts/initialize-plugin.sh aspace-recaptcha

Fire up ArchivesSpace as usual. There should now be a reCAPTCHA checkbox on request forms.

reCAPTCHA request form

About

Add reCAPTCHA functionality to the ArchivesSpace PUI request form

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors