add call for hCaptcha token

This commit is contained in:
Derek L. Seitz 2025-08-21 19:16:53 -05:00
parent a475dde9be
commit e70d594e7f
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ form.addEventListener("submit", function(event) {
hasErrors = true; hasErrors = true;
} }
const hCaptchaResponse = hcaptcha.getResponse();
// Check for hCaptcha token // Check for hCaptcha token
if (!hCaptchaResponse) { if (!hCaptchaResponse) {
showMessage("Please complete the CAPTCHA.", true); showMessage("Please complete the CAPTCHA.", true);