aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/send.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/send.js b/routes/send.js
index e1d5aa27..36a0de58 100644
--- a/routes/send.js
+++ b/routes/send.js
@@ -45,6 +45,7 @@ module.exports = ah(async (req, res, next) => {
};
if (!username) {
+ return res.status(500).send("Vouchers temporarily disabled");
l.info("creating redeemable payment");
params.redeemcode = uuidv4();
params.hash = `${req.get("origin")}/redeem/${params.redeemcode}`;