web/Turnstile: log to console on expired and timeout callback

This commit is contained in:
wukko 2024-11-18 23:02:46 +06:00
parent c67132d2cc
commit 6abccd9743
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -22,6 +22,12 @@
console.log("error code from turnstile:", error); console.log("error code from turnstile:", error);
return true; return true;
}, },
"expired-callback": () => {
console.log("turnstile expired. i am callback this is my message")
},
"timeout-callback": () => {
console.log("turnstile timed out. i am callback this is my message")
},
callback: () => { callback: () => {
$turnstileSolved = true; $turnstileSolved = true;
} }