refresh captcha if it is wrong

This commit is contained in:
biglyderv 2024-11-25 14:12:44 -05:00
parent 10bbaf4e5e
commit d5daf958cf
2 changed files with 3 additions and 1 deletions

View file

@ -16,6 +16,8 @@ async function formClick(ev) {
let json = await fetched.json();
target.querySelector('.captcha').src += '&a=b';
target.querySelector('.form-message').textContent = json.message;
if (json.redirect) {