diff --git a/services/web/frontend/js/features/form-helpers/hydrate-form.js b/services/web/frontend/js/features/form-helpers/hydrate-form.js index bc5859926f..5cea762a81 100644 --- a/services/web/frontend/js/features/form-helpers/hydrate-form.js +++ b/services/web/frontend/js/features/form-helpers/hydrate-form.js @@ -33,6 +33,9 @@ function formSubmitHelper(formEl) { ) { // Trigger captcha unconditionally. const captchaResponse = await validateCaptchaV2() + if (!captchaResponse) { + throw e + } data = await sendFormRequest(formEl, captchaResponse) } else { throw e