adjust banme
This commit is contained in:
parent
f49bb42578
commit
a6b9c6099d
|
@ -29,8 +29,10 @@ const GlobalCaptcha = ({ close }) => {
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
const test = document.getElementById('void-bot');
|
const test = document.getElementById('void-bot');
|
||||||
if (!legit || test) {
|
if (test) {
|
||||||
await requestBanMe((legit) ? 1 : 2);
|
await requestBanMe(1);
|
||||||
|
} else if (!legit) {
|
||||||
|
await requestBanMe(2);
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
const captchaid = e.target.captchaid.value;
|
const captchaid = e.target.captchaid.value;
|
||||||
|
|
|
@ -17,7 +17,7 @@ async function banme(req, res) {
|
||||||
let expires = 0;
|
let expires = 0;
|
||||||
if (code === 1) {
|
if (code === 1) {
|
||||||
reason = 'Userscript Bot';
|
reason = 'Userscript Bot';
|
||||||
expires = Date.now() + 1000 * 3600 * 24 * 7;
|
expires = Date.now() + 1000 * 3600 * 24 * 3;
|
||||||
/*
|
/*
|
||||||
* ignore it for now to collect data manually
|
* ignore it for now to collect data manually
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user