简体   繁体   中英

getting default google Recaptcha red theme

I have used google ReCaptcha in one my application just by seeing the following steps over here at https://www.google.com/recaptcha .

I have added Client side Integration with

<script src='https://www.google.com/recaptcha/api.js'></script>

<div class="g-recaptcha" data-sitekey="MY_PUBLIC_KEY"></div>

Captcha is working fine but I am getting the following default theme as shown in the picture below

在此处输入图片说明

Actually I am looking to get the red theme captcha like as shown below

在此处输入图片说明

Can anyone please tell me some solution for this

Google has a new version for reCAPTCHA. The first image you attached is version 2 while the red image is version 1.

Have a look a the documentation of version 1 - you can use theme: 'red' property.

https://developers.google.com/recaptcha/old/docs/customization

In most cases it's simple click , but if Google's risk analysis still can't be sure you're human, a second prompt will appear.

The reason your getting the second prompt may be This . Still if you want to change the color you can refer Change Color

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM