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.
Comments
Comment #2
greatmatter commentedI'd feel a lot more comfortable adding a settings option with separate testing keys; would that work for you?
Comment #3
mortona2k commented@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.Here's what I used for local dev:
Comment #4
greatmatter commentedComment #5
djkozzI 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.
Or the issue is related to this? https://www.drupal.org/sa-contrib-2025-023
Comment #6
greatmatter commentedUnfortunately, I'm not sure what's causing your issues. We have several sites that are running this module without any issues.
Comment #7
djkozzI 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.
Comment #8
greatmatter commented