Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

reCAPTCHA message within the form: "This reCAPTCHA is currently running on localhost."

Tags:

recaptcha

I am using reCAPTCHA on localhost. I already got my site-key and secret-key. Although almost everything works as expected, I get this message within the form.

In the HTML I have only this row:

<div class="g-recaptcha" data-sitekey="<Here I have put my site-key>"></div>

Does anyone know how to remove this message or the reason why this message appears?

like image 216
Naum Avatar asked Jan 13 '16 11:01

Naum


2 Answers

I see this as well. The message is probably just a warning and it only started to appear 1-2 days ago in my development environment. It doesn't appear in staging nor production.

I'm also pretty sure it doesn't affect the reCAPTCHA behaviour: Using reCAPTCHA on localhost

like image 194
David Avatar answered Sep 29 '22 08:09

David


As another poster said, looks like google just added this when running locally. If you really hate seeing it, you can override the .rc-anchor-alert class to display:none.

like image 25
lance fallon Avatar answered Sep 29 '22 07:09

lance fallon