reset grecaptcha in case of error
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good

This commit is contained in:
Bence Pőcze 2023-05-08 18:48:43 +02:00
parent 726b1818d0
commit d1dee27191
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -64,6 +64,9 @@ var RVR = {
formError.style.display = 'block';
formError.innerHTML = this.response.error.errorText;
if (typeof grecaptcha !== 'undefined') {
grecaptcha.reset();
}
return;
}