This module plugin adds a captcha element that can be added to any form using the Drupal Captcha Module. In addition to adding captcha, the module also helps identify text vs handwritten documents from the National Archive to help identify what documents can be easily transcribed.
In your composer file add the following two snippets to your Drupal 8 root Composer file. This will download the NARA Image Tool module, and Captcha.
"repositories": [
{
"type": "vcs",
"url": "[email protected]:agencychief/nara_captcha.git"
}
]
"require": {
"agencychief/nara_captcha": "dev-develop"
}
After running composer install
enable the module, which will also enable Drupal Captcha.
Clone this repository into your Drupal 8 module folder and enable the module. You will also need to download and add Captcha to your site for this work.
Since this is a plugin for the Drupal Captcha module, you will need to add captchas though it's admin interface. Visitng /admin/config/people/captcha/nara_captcha
after logging into your site will allow you to set any keys or paths that are required.
The path /admin/config/people/captcha/captcha-points
will list all form types on the site and allow you to add NARA Captcha as the challenge type.