mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Add another call to clear cookies for domain to fetch error handler
This commit is contained in:
@ -111,6 +111,7 @@ function postResponse(powResponse, captchaResponse) {
|
|||||||
window.localStorage.setItem("_basedflare-redirect", Math.random());
|
window.localStorage.setItem("_basedflare-redirect", Math.random());
|
||||||
finishRedirect();
|
finishRedirect();
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
clearCookiesForDomain(location.hostname);
|
||||||
insertError(__("Failed to send request to server."));
|
insertError(__("Failed to send request to server."));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
2
src/js/challenge.min.js
vendored
2
src/js/challenge.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user