Add another call to clear cookies for domain to fetch error handler

This commit is contained in:
Thomas Lynch
2023-12-14 23:25:21 +11:00
parent baba0518dd
commit 63b738b9b5
2 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@ function postResponse(powResponse, captchaResponse) {
window.localStorage.setItem("_basedflare-redirect", Math.random());
finishRedirect();
}).catch(() => {
clearCookiesForDomain(location.hostname);
insertError(__("Failed to send request to server."));
});
}

File diff suppressed because one or more lines are too long