• Resolved chinkaara

    (@chinkaara)


    Hi,

    I’m integrating Cloudflare Turnstile with my WordPress site, but it’s not working correctly with the Classima theme’s custom login form. “Please verify that you are human” error

    Issue:
    When Turnstile is enabled for the WordPress login form, the widget does not render on the login page. As a result, when I attempt to log in, I get this error message:

    “Please verify that you are human.”

    If I disable Turnstile protection for the WordPress login form, login works fine — but of course, that removes the CAPTCHA validation.

    t looks like the plugin hooks into the default login_form or wp_login_form() action, but since Classima uses its own custom login form, those hooks don’t fire — meaning Turnstile never renders.

    Could you please provide a way to manually embed or trigger Turnstile verification on custom login templates (like Classima’s), or add a filter/action I can hook into to make it compatible?

    I prefer not to use Google reCAPTCHA — Turnstile is my only CAPTCHA solution.

    Thanks for looking into this!

Viewing 1 replies (of 1 total)
  • Hi,

    The plugin runs this hook for the Turnstile verification on login:

    add_action('authenticate', 'cfturnstile_wp_login_check', 21, 1);

    This should run for all login attempts, unless skipped with the “cfturnstile_wp_login_checks” filter.

    You can trigger verification yourself by running this function if your login form is skipping ‘authenticate’ for some reason:

    cfturnstile_wp_login_check($user)

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.