Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow option to raise SuspiciousOperation or PermissionDenied on low score #11

Open
bretlowery opened this issue Mar 28, 2019 · 2 comments

Comments

@bretlowery
Copy link

IMHO I don't think telling a bad actor their reCAPTCHA score is a security best practice, as happens now in fields.py. A configurable option to optionally throw SuspiciousOperation and/or PermissionDenied instead, with a customizable message, would be preferable in a lot of use cases, and definitely not inform the bad actor of their score, unless say DEBUG = True.

@bretlowery
Copy link
Author

If I get a sec I'll submit a PR for this. I gotta do it in my use case anyway.

@kbytesys
Copy link
Owner

kbytesys commented Apr 5, 2019

Yes I agree. If you would like to submit a PR about this topic I will be very happy.

Repository owner deleted a comment from Bishwas-py Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants