Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1900

Use JS recaptcha lib in signup instead of image returned by WS

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4.2
    • 3.4.1
    • Authentication
    • Hide

      Setting up the site

      To test this issue, you need a site with MDL-61600 applied.

      1. In web as admin, set up site reCAPTCHA keys (Site administration > Plugins > Authentication > Manage authentication). You can request the keys in here.
      2. Enable Email-based self-registration (Site administration > Plugins > Authentication > Manage authentication)
      3. Enable reCAPTCHA for Email-based self-registration (Site administration > Plugins > Authentication > Email-based self-registration)
      4. Go to Site administration > Security > HTTP security and enable "Allow frame embedding".
      5. Finally, create a new feedback and add a Captcha question.

      Testing the issue

      1. In the app, click to add a new site and enter the site URL.
      2. In the credentials page, click to create a new account. Check that you see an "Answer" button in the security question category. 
      3. Fill all the fields except the Captcha (security question). Click to send the form and check that you see an error message.
      4. Now click the "Answer" button in the security question category and check that a modal is opened with the recaptcha element.
      5. Answer the recaptcha (the modal should be closed automatically) and send the form again. Check that now the form is successfully submitted.
      6. Now login in the site and open the feedback created before (the one with the captcha). Check that the captcha works fine in there too.
      Show
      Setting up the site To test this issue, you need a site with  MDL-61600 applied. In web as admin, set up site reCAPTCHA keys (Site administration > Plugins > Authentication > Manage authentication). You can request the keys in here . Enable Email-based self-registration (Site administration > Plugins > Authentication > Manage authentication) Enable reCAPTCHA for Email-based self-registration (Site administration > Plugins > Authentication > Email-based self-registration) Go to Site administration > Security > HTTP security and enable "Allow frame embedding". Finally, create a new feedback and add a Captcha question. Testing the issue In the app, click to add a new site and enter the site URL. In the credentials page, click to create a new account. Check that you see an "Answer" button in the security question category.  Fill all the fields except the Captcha (security question). Click to send the form and check that you see an error message. Now click the "Answer" button in the security question category and check that a modal is opened with the recaptcha element. Answer the recaptcha (the modal should be closed automatically) and send the form again. Check that now the form is successfully submitted. Now login in the site and open the feedback created before (the one with the captcha). Check that the captcha works fine in there too.
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • Moodle Mobile 3.4.2

      Right now the signup page shows an image returned by the auth_email_get_signup_settings WebService. We should check if we're able to use the recaptcha JS lib to show a better recaptcha.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.