The reCAPTCHA was not entered correctly
« on: May 31, 2023, 08:48:37 pm »
Hello dears, I'm new here. My name is Roberto and I am new to the classifieds business.

I have the following problem, when I try to log in, the error always appears: The reCAPTCHA was not entered correctly. I entered everything correctly for spam and bot, what's wrong? It also doesn't show a captcha when logging in.

I hope someone knows the error and can help me.

Best regards.

*

questions

  • *****
  • 323 posts
Re: The reCAPTCHA was not entered correctly
« Reply #1 on: June 01, 2023, 01:55:13 am »
Same issue here. Wait for it to be answered.

https://forums.osclasspoint.com/osclass/issue-here-settings-spam-and-bots-recaptcha-v2-tickbox/

Everything goes well, the account is created, just that message and the user is not redirected into his accounts, needs to re-login.

Thanks,

Marked as best answer by frosticek on June 05, 2023, 11:08:27 am
Re: The reCAPTCHA was not entered correctly
« Reply #2 on: June 01, 2023, 05:47:56 pm »
I solved it like this in the user-login.php and it works great.

Code: [Select]
<?php osc_run_hook('user_login_form'); ?>

<div class="control-group">
<?php osc_show_recaptcha('login'); ?>
</div>
            <div class="control-group act">
                <a href="
<?php echo osc_register_account_url(); ?>
" class="rg">
<?php _e("Register for a free account", 'sigma'); ?>
</a>
                <a href="
<?php echo osc_recover_user_password_url(); ?>
" class="lg">
<?php _e("Forgot password?", 'sigma'); ?>
</a>
            </div>
        </form>


That has to be entered.

Code: [Select]
<?php osc_run_hook('user_login_form'); ?>

<div class="control-group">
<?php osc_show_recaptcha('login'); ?>
</div>