Code Monkey home page Code Monkey logo

Comments (8)

kbytesys avatar kbytesys commented on September 7, 2024

According to official doc at https://developers.google.com/recaptcha/docs/verify error-codes is optional, but I've never seen a failure without it.

I can add a check to avoid the exception, but you can provide me the json result from google server? Thanks.

from django-recaptcha2.

brianmay avatar brianmay commented on September 7, 2024

Unfortunately the json result doesn't appear to have been included in the error report, and I am unable to reproduce the error :-(

from django-recaptcha2.

kbytesys avatar kbytesys commented on September 7, 2024

Ok. I was just curious to find out why you got no error-codes in the response.

Give me a day, I will add some extra check to avoid the exception and report a generic error to the user.

from django-recaptcha2.

brianmay avatar brianmay commented on September 7, 2024

Apparently if you have two failures in a row, this happens. Will see if I can reproduce.

{'challenge_ts': '2016-06-29T06:32:37Z',
'hostname': 'localhost',
'success': False}

from django-recaptcha2.

kbytesys avatar kbytesys commented on September 7, 2024

@brianmay Fine. I've already commited the fix, could you can test the lastest version from git?

from django-recaptcha2.

brianmay avatar brianmay commented on September 7, 2024

Can't reproduce. I have had reports the tick can appear even though the captcha failed, which sounds to me like a Google bug. Will look at the git version, thanks.

from django-recaptcha2.

brianmay avatar brianmay commented on September 7, 2024

Patch looks fine to me. Can't be 100% certain as I haven't been able to reproduce this myself yet. Looking forward to the next release so I can better test this. Thanks.

from django-recaptcha2.

kbytesys avatar kbytesys commented on September 7, 2024

New pypi package released.

from django-recaptcha2.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.