Fix issues with register page and captcha on both login and register page
This commit is contained in:
1 parent
e63e596830
commit
f33c3ec72c
4 files changed
+115
-105
No files matched your search
@@ -197,6 +197,7 @@ if (isset($_COOKIE['session'])) {
|
||||
} else {
|
||||
var response = JSON.parse(xhr.responseText);
|
||||
alert(response.response + ' (' + xhr.status + ')');
|
||||
document.querySelector('.cf-turnstile').innerHTML = '';
|
||||
captcha_token = '';
|
||||
turnstile.render('.cf-turnstile', {
|
||||
sitekey: '<?= $captcha_sitekey ?>',
|
||||
|
||||
Reference in new issue
Block a user