The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
reCaptcha on 4.3 login - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: reCaptcha on 4.3 login (/showthread.php?tid=833)



reCaptcha on 4.3 login - Jeff - 11-16-2017

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


reCaptcha on 4.3 login - Brandin - 11-16-2017

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.


reCaptcha on 4.3 login - Jeff - 11-17-2017

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.


reCaptcha on 4.3 login - mudmin - 11-17-2017

Awesome. Don't feel bad. I break my own code all the time.