Created on 10 April 2024, 12 months ago

Problem/Motivation

It would be great if you could implement testing

https://developers.cloudflare.com/turnstile/troubleshooting/testing/

Currently I have hacked the .module file

if ($_SERVER['SERVER_ADDR'] == "127.0.0.1"){
$turnstile_site_key = '1x00000000000000000000AA';
$turnstile_secret_key = '1x0000000000000000000000000000000AA';
}

Let me know what you think.

✨ Feature request
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jamesrobertson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jamesrobertson
  • πŸ‡ΊπŸ‡ΈUnited States greatmatter

    I'd feel a lot more comfortable adding a settings option with separate testing keys; would that work for you?

  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    @greatmatter I think there should be an option in the settings to set the mode, and it uses the keys from the link.

    This is a necessary feature I think, otherwise developing locally can be a pain.

  • Status changed to Fixed about 1 month ago
  • πŸ‡ΊπŸ‡ΈUnited States greatmatter
  • πŸ‡²πŸ‡½Mexico djkozz Puebla

    I do not know if it is related or not.

    But after updating core to 10.4.4 and turnstile to 1.1.14, I can not longer access my web site. :(

    Via Terminal with Composer I downgraded to 11.1.13 but as you can imagine, the web site goes broken. Also I deleted the module, but the result is the same, the web site goes broken. So for now I returned to 11.1.14. But can not longer access it. :'(

    Can you please share me some advice on how to solved this issue? Thank you in advance for your attention.

  • πŸ‡ΊπŸ‡ΈUnited States greatmatter

    Unfortunately, I'm not sure what's causing your issues. We have several sites that are running this module without any issues.

  • πŸ‡²πŸ‡½Mexico djkozz Puebla

    I understand that is not a general issue. In the mean time, I will restore a backup, do not update Turnstille, and waiting for more feedback from other users.

  • πŸ‡ΊπŸ‡ΈUnited States greatmatter
Production build 0.71.5 2024