diff --git a/website/src/lib/captcha.ts b/website/src/lib/captcha.ts index 2eb4f0a6..384f69dd 100644 --- a/website/src/lib/captcha.ts +++ b/website/src/lib/captcha.ts @@ -40,6 +40,7 @@ export const checkCaptcha = async ( }; }; +// This function hasn't been tested yet, Cloudflare doesn't send `action` and `cdata` with a demo key. const getSuccess = (response: CheckCaptchaResponse, action: string | undefined, cdata: string | undefined) => { if (action === undefined && cdata === undefined) { return response.success;