Not sure how the test settings keys are supposed to work but I tried using the keys under the testing settings area and that doesn't seem to be overriding the keys that I added via the keys module (since that's a required field). I noticed here there doesn't seem to be a check for the test keys in turnstile_keys() function.
https://git.drupalcode.org/project/turnstile/-/blob/1.1.x/turnstile.modu...
Is that by design? Should the test keys override whatever key is added via keys module? In any event, I created a small patch that adds a check for test keys. If test keys are selected, it will then override whatever key was added via keys module. This can be easily turned off by selecting "disabled (use live site key)" option under the testing settings section.
| Comment | File | Size | Author |
|---|---|---|---|
| test_settings_key_not_overriding_keys.patch | 670 bytes | phernand42 |
Comments
Comment #3
greatmatter commentedGreat catch. Now fixed in 1.1.22.
Comment #4
greatmatter commentedComment #5
phernand42 commentedThanks so much greatmatter
Comment #6
greatmatter commented