The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reCaptcha on 4.3 login
#1
The recaptcha option on the login screen does not reliably display on my system - the checkbox is not visible and cannot be checked. When this happens I get an error message 'Please check the reCaptcha'.

If I change the following line in login.php

from

<div class="g-recaptcha" data-sitekey="<?=$settings->recap_public; ?>" data-bind="next_button" data-callback="submitForm"></div>

to

<div class="g-recaptcha" data-sitekey="<?=$settings->recap_public; ?>"></div>

the recaptcha displays normally and can be selected.

Not sure if this is a browser problem - I am using Firefox Quantum v57.0
  Reply
#2
reCapatcha is now built in Invisible Recapatcha. Did you do this on upgrade or fresh install? If upgrade, you may have to change your keys at Google but I don't imagine. I would link this as an issue with your keys though not the code itself as the code itself has been tested.

B.
  Reply
#3
Thanks for the quick response. My fat fingers, small keys and old age all conspire to make mistakes. I have returned to your original code and everything is working fine.
  Reply
#4
Awesome. Don't feel bad. I break my own code all the time.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)