mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-22 10:46:19 +01:00
web/Turnstile: log to console on expired and timeout callback
This commit is contained in:
parent
c67132d2cc
commit
6abccd9743
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,12 @@
|
|||
console.log("error code from turnstile:", error);
|
||||
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: () => {
|
||||
$turnstileSolved = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue