Skip to content

Commit 391894e

Browse files
committed
fix: fixed support issue due to spammers and no hcaptcha yet
1 parent 1ee4401 commit 391894e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/controllers/web/support.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ const { Inquiries } = require('../../models');
1010
const config = require('../../../config');
1111

1212
async function support(ctx) {
13+
ctx.throw(new Error('Please email hello@lad.sh directly for requests'));
14+
15+
/*
1316
let { body } = ctx.request;
1417
1518
if (config.env === 'test') ctx.ip = ctx.ip || '127.0.0.1';
@@ -92,6 +95,7 @@ async function support(ctx) {
9295
ctx.logger.error(err, { body });
9396
throw Boom.badRequest(ctx.translate('SUPPORT_REQUEST_ERROR'));
9497
}
98+
*/
9599
}
96100

97101
module.exports = support;

0 commit comments

Comments
 (0)