Created on 10 April 2024, 7 months ago
Updated 3 July 2024, 4 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.

Production build 0.71.5 2024