Here are the steps to enable CAPTCHA in Moodle:
Sign Up for reCAPTCHA:
- Go to Google reCAPTCHA.
- Sign in with your Google account if you're not already signed in.
- Click on Get started.
- Go to Google reCAPTCHA.
- Fill Out the Registration Form:
- Enter a label for your site
- Choose the reCAPTCHA type (v2 or v3).Types of reCAPTCHA:
- reCAPTCHA v3: Verifies interactions without user input by returning a score, allowing actions like additional authentication or bot detection based on site context.
- reCAPTCHA v2: Uses visible challenges, like checkboxes or image-based tasks, to confirm the user is human.
- reCAPTCHA v2 ("I'm not a robot" Checkbox): Requires users to click a checkbox, passing them or prompting further validation based on human interaction.
- reCAPTCHA v2 (Invisible reCAPTCHA badge): Invokes reCAPTCHA verification without user interaction when a button is clicked or via JavaScript, only challenging suspicious traffic.
- Enter your domain (your Moodle site's domain).
- Specify a project name for your reCAPTCHA integration.
- Click Submit.
3. Copy the keys:
- After submitting the form, you'll receive a Site Key and a Secret Key. Copy both.
4. Configure reCAPTCHA in Moodle:
- Log in to your Moodle LMS as an admin.
- Go to Site administration > Plugins > Authentication > Manage authentication.
- Scroll to the Common settings section.
- Set Enable reCAPTCHA for login to Yes.
- Paste the Site Key and Secret Key from Google into the appropriate fields.
- Click Save changes.
This will activate CAPTCHA for the login form in your Moodle LMS.