$('#registerForm').submit(function(event) {
event.preventDefault();
grecaptcha.enterprise.ready(function() {
grecaptcha.enterprise.ready(async () => {
const token = await grecaptcha.enterprise.execute("6LcA1LkrAAAAAPKEEPqtIRC2zeCcMCBCsjZdnHQ4", {action: 'REGISTER'});
$('#registerForm').prepend('');
$('#registerForm').unbind('submit').submit();
});
});
});
$('#loginForm').submit(function(event) {
event.preventDefault();
grecaptcha.enterprise.ready(function() {
grecaptcha.enterprise.ready(async () => {
const token = await grecaptcha.enterprise.execute("6LcA1LkrAAAAAPKEEPqtIRC2zeCcMCBCsjZdnHQ4", {action: 'LOGIN'});
$('#loginForm').prepend('');
$('#loginForm').unbind('submit').submit();
});
});
});
$('#resetForm').submit(function(event) {
event.preventDefault();
grecaptcha.enterprise.ready(function() {
grecaptcha.enterprise.ready(async () => {
const token = await grecaptcha.enterprise.execute("6LcA1LkrAAAAAPKEEPqtIRC2zeCcMCBCsjZdnHQ4", {action: 'LOGIN'});
$('#resetForm').prepend('');
$('#resetForm').unbind('submit').submit();
});
});
});