Captcha options

Just a heads-up. We have installed the guest user plug-in that by default uses the Google reCaptcha. This is not an option for those of us with users in China, since China blocks everything Google; you’d have to use a VPN to complete the registration page. I am currently on the hunt for an alternative if anyone has suggestions that might work best with Omeka.

It seems to me that one potential solution is this:

" Can I use reCAPTCHA globally?

Yes, please use “” in your code in circumstances when “” is not accessible.

  • First, replace <script src=“https:// /recaptcha/api.js” async defer></script> with <script src=“https:// /recaptcha/api.js” async defer></script>
  • After that, apply the same to everywhere else that uses “” on your site."

Unfortunately not really sure where in Omeka to change it; I don’t see anything in the libraries that calls Google.

You could either change the value of constant API_SECURE_SERVER here in your installation or propose PR to set the URL or maybe even always use

This topic was automatically closed after 250 days. New replies are no longer allowed.