-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support for new reCAPTCHA v2.0 #2407
Conversation
Currently CKAN uses reCAPTCHA v1.0, this commit enables support for the much more user friendly reCAPTCHA v2.0
Many thanks for this @AdzRivers, seems like a useful addition. What do you think? |
Added config option for reCAPTCHA version which can handle both versions 1 and 2 of reCAPTCHA.
@amercader I've added a config option called |
@TkTech Well spotted, thanks for that! They're now fixed. |
I was trying to hide the "Privacy and Terms" using this css but to no avail: Could you advise as to how to achieve that? |
Try visibility: hidden;
|
mattfullerton - thank you for your prompt response. Unfortunately, it still doesn't work with visibility: hidden; |
Do you have an instance of the change running publicly? Depending on what order different CSS files are getting loaded, your change might be getting overridden. |
Why exactly do you want to remove privacy and terms? ;-) Assuming the method you suggest is possible, maybe you can use a different kind of selector ($("iframe")) with jquery to get a hold of the iframe instead of the id. |
I guess leaving the labels as is should be OK too :) I will give it a shot and let you know my findings. ~cheers and have a great day |
Support for the new reCAPTCHA on the registration form as seen here: https://www.google.com/recaptcha/intro/index.html.