Comments (8)
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.
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.
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.
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.
@brianmay Fine. I've already commited the fix, could you can test the lastest version from git?
from django-recaptcha2.
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.
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.
New pypi package released.
from django-recaptcha2.
Related Issues (18)
- Testing HOT 3
- Missing __init__ in namespace packages HOT 4
- Allow passing reCaptcha settings in field constructor HOT 2
- Fails during request.post to Google's siteverify, how to capture logging info? HOT 2
- Load recaptcha script in the widget template HOT 1
- Unable to render captcha for multiple forms on a single page HOT 3
- Not compatible with Django 2.1 HOT 6
- Signup Form not showing the captcha field. HOT 1
- Broken extra css classes for invisible captcha HOT 1
- reCAPTCHA proxy support HOT 3
- Reload on ajax HOT 1
- recaptcha_host variable is passed to the wrong tag HOT 1
- rendring multi invsible recptha in one page HOT 1
- How to startγ
- white space error HOT 1
- Misunderstanding with backend part in examples. HOT 2
- Add invisible support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-recaptcha2.