Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15853

Update reCaptcha code to use 2.0 API

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5.5
    • Fix Version/s: 4.6
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      CiviCRM 4.5 and lower uses reCaptcha 1.0 API which is now deprecated. We need to modify our integration to use the 2.0 API instead (documentation at https://developers.google.com/recaptcha/). New integration needs to support ability to pass in language parameter using the existing 'options' field:

      https://developers.google.com/recaptcha/docs/display#config
      https://developers.google.com/recaptcha/docs/language (include link to this page in updated inline help for customization).

      • We could also support passing in non-default value for new 'data-theme' parameter - but not sure it's worth parsing out since there seems to be only two options now ("light" which is default, and "dark").

      NOTE: The new doc intro displays the "no-reCaptcha reCaptcha checkbox" features, which seems cool. BUT I don't see a clear explanation in the doc for how you configure to use that option ????

      — original post —
      CiviCRM ยป Administer CiviCRM >>Misc (Undelete, PDFs, Limits, Logging, Captcha, etc.)

      The link here

      You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:'blackglass', lang : 'fr' ).
      Check the available options for reCAPTCHA here: Customizing the Look and Feel of reCAPTCHA.

      Goes to a dead page. Needs updating to
      https://developers.google.com/recaptcha/old/docs/customization

        Attachments

          Activity

            People

            • Assignee:
              pratiksha pratiksha
              Reporter:
              speleo Henry Bennett
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: