• Resolved marcruiz

    (@marcruiz)


    Hi:)
    I tried to add the captcha code from the registration form and see if it works.
    It did not work. I have deleted it, but the captcha is still showing in the login form.

    I have cleared cache, but no luck.
    Any advice?
    Thank you:)
    <?php /*check if captcha is checked */ if ( get_option( ‘cl_gcaptcha’ ) == ‘on’) : ?>
    <?php gcaptcha_script(); ?>
    <div class=”cleanlogin-field”>
    <div class=”g-recaptcha” data-sitekey=”<?php echo get_option( ‘cl_gcaptcha_sitekey’ ) ?>”></div>
    </div>
    <?php endif; ?>

    • This topic was modified 4 years, 7 months ago by marcruiz.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter marcruiz

    (@marcruiz)

    False alarm:)
    It is back to normal

    Overall and for the sake of understanding the code, is it possible to borrow the captcha code from the registration form and past it in the login form?
    If yes, and in order to make it work, where we should paste it (row number in the login form) and what changes we should do, if any?

    Thank you for your advice

    • This reply was modified 4 years, 7 months ago by marcruiz.
    Plugin Author Javier Carazo

    (@carazo)

    @marcruiz,

    Sorry but I don’t understand really well what are you asking for.

    Captcha appears in login, but no in register?

    Thread Starter marcruiz

    (@marcruiz)

    Hi Javier

    Sorry to confuse you

    Briefly, the current login form only requires username and password.

    I wonder if it is possible to copy the below code (please see PS), that has been taken from the registration from into the login one, and if yes where should it be pasted ?

    Your advice is appreciated.

    Best regards

    Marcelo
    PS.
    <?php /*check if captcha is checked */ if ( get_option( ‘cl_gcaptcha’ ) == ‘on’) : ?>
    <?php gcaptcha_script(); ?>
    <div class=”cleanlogin-field”>
    <div class=”g-recaptcha” data-sitekey=”<?php echo get_option( ‘cl_gcaptcha_sitekey’ ) ?>”></div>
    </div>
    <?php endif; ?>

    • This reply was modified 4 years, 7 months ago by marcruiz.
    Plugin Author Javier Carazo

    (@carazo)

    Sorry but I continue without understanding.

    In the login form there is no captcha by default if you enable it?

    Thread Starter marcruiz

    (@marcruiz)

    Is there a way to enable captcha in the login form?

    Plugin Author Javier Carazo

    (@carazo)

    Sorry I think it was possible but no. We have to do it.

    Plugin Author Javier Carazo

    (@carazo)

    Captcha was set into register form because many bots register on the site but in login it seems this is not so necessary.

    Do you think it is necessary there?

    I think it would be great as I run a private site that users cannot register (they are sent their log in details) but the login page is the only page open to the public. It would be great to have the Google Captcha there.

    Thanks.

    Plugin Author Javier Carazo

    (@carazo)

    OK @lightwavin we include it as a to-do for the future.

    perfecto @javier ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘I have inserted captcha code in login form’ is closed to new replies.