mirror of
https://github.com/anatolykopyl/registration.git
synced 2026-03-26 12:55:25 +00:00
Checking for existing accounts when registering
Packed up js into a file
This commit is contained in:
@@ -25,14 +25,6 @@
|
||||
</form>
|
||||
|
||||
<script src="https://www.google.com/recaptcha/api.js?render=6LcTXIsaAAAAAGWE4913KuaqU1tTT9uyqmvPADcn"></script>
|
||||
<script>
|
||||
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;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script src="index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user