We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a588507 commit 1418300Copy full SHA for 1418300
app/controllers/web/support.js
@@ -38,6 +38,10 @@ async function help(ctx) {
38
body.is_email_only = true;
39
}
40
41
+ // massive spam IP attack (temp removal)
42
+ if (body.message === 'Muchas gracias. ?Como puedo iniciar sesion?')
43
+ throw Boom.badRequest(ctx.translateError('SUPPORT_REQUEST_LIMIT'));
44
+
45
// check if we already sent a support request in the past day
46
// with this given ip address or email, otherwise create and email
47
const count = await Inquiries.countDocuments({
0 commit comments