Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51217

Using recaptcha is not possible outside auth_email plugin.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • As site admin, open "Manage authentication" page:
        • make sure that "Email-based self-registration" is enabled
        • enable "Self registration" by selecting "Email-based self-registration" in its select list
        • configure ReCaptcha settings (public and private key generated on http://www.google.com/recaptcha).
      • As site admin, open "Email-based self-registration" and make sure that "Enable reCAPTCHA element" is set to "No".
      • As guest, open website and click "Log-in", then click "Create new account" and observe that the page does not have ReCaptcha element.
      • As site admin, open "Email-based self-registration" and make sure that "Enable reCAPTCHA element" is set to "Yes".
      • As guest, open website and click "Log-in", then click "Create new account" and observe that the page has ReCaptcha element.
      Show
      As site admin, open "Manage authentication" page: make sure that "Email-based self-registration" is enabled enable "Self registration" by selecting "Email-based self-registration" in its select list configure ReCaptcha settings (public and private key generated on http://www.google.com/recaptcha ). As site admin, open "Email-based self-registration" and make sure that "Enable reCAPTCHA element" is set to "No". As guest, open website and click "Log-in", then click "Create new account" and observe that the page does not have ReCaptcha element. As site admin, open "Email-based self-registration" and make sure that "Enable reCAPTCHA element" is set to "Yes". As guest, open website and click "Log-in", then click "Create new account" and observe that the page has ReCaptcha element.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-51217-master

      Description

      While auth_plugin_base class suggests that is_captcha_enabled() is designed to indicate whether auth plugin is supporting captcha, in reality this method is never used. User signup form is using own signup_captcha_enabled verification function, that checks for captcha settings and a flag in auth_email plugin settings only.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  16/Nov/15