Last patch today, I'm happy with this rn

This commit is contained in:
2023-05-15 11:33:32 +10:00
parent fd44712e37
commit ac7c8d04ed
4 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const route = async (req, res) => {
//script throttle
const throttle = await checkThrottle(req.body.email);
if (throttle) {
console.warn(`Spam attack detected: ${req.body.email} (${req.body.username})`);
console.warn(`Spam Throttled\t${req.body.email} (${req.body.username})`);
return res.status(401).send(throttle);
}