0

Tank auth recaptcha does not come with default. How can I apply recaptcha theme/custom theme to tank auth recaptcha?
Tried adding following in page's <head> tag but no luck.

<script type="text/javascript">
 var RecaptchaOptions = {
    theme : 'red'
 };
 </script>

Tried changing auth.php's _create_recaptcha() method like this.

$options = "<script>var RecaptchaOptions = {theme: 'red', custom_theme_widget: 'recaptcha_widget'};</script>\n";

Then I gotenter image description here

Himanshu Yadav
  • 13,315
  • 46
  • 162
  • 291

1 Answers1

0

You are in the right path, next thing you have to do is that remove explicit call for recaptcha components from the view . Then it will work as expected

Tachyons
  • 2,131
  • 1
  • 21
  • 35