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;
|
||||
}
|
||||
|
||||
const hCaptchaResponse = hcaptcha.getResponse();
|
||||
// Check for hCaptcha token
|
||||
if (!hCaptchaResponse) {
|
||||
showMessage("Please complete the CAPTCHA.", true);
|
||||
|
|
Loading…
Reference in New Issue