revert fix: accept submissions if validation failed
This commit is contained in:
kittentm 2026-07-07 09:27:13 +02:00
commit 09a2f6f69d

View file

@ -40,7 +40,7 @@ router.post('/post', postLimiter, async (request, response, next) => {
} }
} catch (err) { } catch (err) {
console.error(`Caught error when validating ${pid}:`, err.message || err); console.error(`Caught error when validating ${pid}:`, err.message || err);
isPidValid = true; isPidValid = false;
} }
if (!isPidValid) { if (!isPidValid) {