ficlatte / main

Ficlatté website main code
GNU Affero General Public License v3.0
2 stars 2 forks source link

Captcha doesn't work anymore #53

Closed ethel-t-frog closed 3 years ago

ethel-t-frog commented 3 years ago

Google have a new Captcha module implemented as a Python module. We should use that.

ethel-t-frog commented 3 years ago

Captcha calls out to generate the challenge. In order to verify the result, an API call to Google must be made. The urllib2 library changed between Python2 and Python3, so this code must be rewritten.

ethel-t-frog commented 3 years ago

Re-worked the contact-Google-for-verification code using python 'requests' module. Seems to be working.