• I wanted to add support for Google Captcha on the secondary login screen here and didn’t see if there was a repo I could do a pull on. It’s essentially one line of code in function secondary_login_screen() of the google-authenticator.php file.

    On line 650 add:

    <input type=”hidden” name=”g-recaptcha-response” value=”<?php echo esc_attr( $_REQUEST[‘g-recaptcha-response’] ); ?>” />

    This will pull the recaptcha response POST Data through to authentication for any additional google captcha plugin or custom code added.

  • The topic ‘Support for Google Captcha – Please add this to plugin code’ is closed to new replies.