add call for hCaptcha token
This commit is contained in:
parent
a475dde9be
commit
e70d594e7f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue