Summary
Google reCAPTCHA helps protect your site from spam and automated attacks by requiring users to complete a challenge before submitting forms. This guide will walk you through enabling and configuring reCAPTCHA in Moodle.
How To:
Step 1 - Generate Keys from Google
Before enabling reCAPTCHA in Moodle, you need to generate reCAPTCHA keys from Google using the following steps:
- Visit the Google reCAPTCHA site.
- Sign in with your Google account.
- Under Label, enter a name for your reCAPTCHA (e.g., "Moodle Site").
- Select reCAPTCHA v2 and choose "I'm not a robot" Checkbox.
- Enter your Moodle site's domain (e.g. explore.charitylearning.org).
- Accept the terms and click Submit.
- Copy the Site Key and Secret Key displayed on the next screen.
Step 2 - Navigate to reCAPTCHA Settings in Moodle
Whilst logged in as a Site Administrator, you'll need to go to:
Site administration > Plugins > Authentication > Manage authentication
Scroll down to the reCAPTCHA settings at the bottom of the page and enable reCAPTCHA for login, then enter the Site Key and Secret Key.
Step 3 - Save
Once you've made the changes on your platform as highlighted above, scroll down to Save these changes. You can then test the reCAPTCHA functionality anywhere on the site which requires a form submission.
