Here are the steps to enable CAPTCHA in Moodle:


  1. 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.

      Image Placeholder

  2. Fill Out the Registration Form:
    1. Enter a label for your site
    2. Choose the reCAPTCHA type (v2 or v3).

      Types of reCAPTCHA:
      1. reCAPTCHA v3: Verifies interactions without user input by returning a score, allowing actions like additional authentication or bot detection based on site context.
      2. reCAPTCHA v2: Uses visible challenges, like checkboxes or image-based tasks, to confirm the user is human.
        1. reCAPTCHA v2 ("I'm not a robot" Checkbox): Requires users to click a checkbox, passing them or prompting further validation based on human interaction.
        2. reCAPTCHA v2 (Invisible reCAPTCHA badge): Invokes reCAPTCHA verification without user interaction when a button is clicked or via JavaScript, only challenging suspicious traffic.
    3. Enter your domain (your Moodle site's domain).
    4. Specify a project name for your reCAPTCHA integration.
    5. Click Submit.
Image Placeholder

Image Placeholder

  3. Copy the keys:
  1. After submitting the form, you'll receive a Site Key and a Secret Key. Copy both.



  4. Configure reCAPTCHA in Moodle:

  1. Log in to your Moodle LMS as an admin.
  2. Go to Site administration > Plugins > Authentication > Manage authentication.
  3. Scroll to the Common settings section.
  4. Set Enable reCAPTCHA for login to Yes.
  5. Paste the Site Key and Secret Key from Google into the appropriate fields.
  6. Click Save changes.
Image Placeholder

This will activate CAPTCHA for the login form in your Moodle LMS.