Checking for existing accounts when registering

Packed up js into a file
This commit is contained in:
2021-03-23 18:40:38 +03:00
parent c75520014f
commit 725c965c4e
3 changed files with 20 additions and 14 deletions

View File

@@ -0,0 +1,7 @@
grecaptcha.ready(function () {
grecaptcha.execute('6LcTXIsaAAAAAGWE4913KuaqU1tTT9uyqmvPADcn', { action: 'demo' })
.then(function (token) {
document.getElementsByClassName('g-recaptcha-response')[0].value = token;
document.getElementsByClassName('g-recaptcha-response')[1].value = token;
});
});