-
Notifications
You must be signed in to change notification settings - Fork 41
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
please support RECAPTCHA_PROXY #6
Comments
Just a question, why you want to use a proxy only for recaptcha requests? You can always set the proxy when you run your Django app with environment vars:
This is only an example of course! |
@kbytesys thank you very much in china , we can not access *.google.com , but www.recaptcha.net |
You don't need a proxy, because you need to change the url used by frontend and backend only. For the frontend I've added a configuration key, but I think that it's useful to add this feature also for the server requests. |
Reopened because I'm adding the proxy support also on the backend |
Link to Google's documentation https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
Presumably for web hosting in CN the server side verification URL might need to be changed too? |
If you require a proxy, add a RECAPTCHA_PROXY setting, for example:
RECAPTCHA_PROXY = 'http://127.0.0.1:8000'
The text was updated successfully, but these errors were encountered: