aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/users.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/users.js b/routes/users.js
index 58738b72..5b5cf1e0 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -58,7 +58,7 @@ app.post(
ah(async (req, res) => {
try {
const ip = req.headers["x-forwarded-for"] || req.connection.remoteAddress;
- const user = await register(req.body.user, ip, true);
+ const user = await register(req.body.user, ip, false);
res.send(pick(user, ...whitelist));
} catch (e) {
res.status(500).send(e.message);
@@ -500,7 +500,7 @@ app.post(
amount: -source.amount,
account_id: account.id,
user_id: user.id,
- hash: "Redeemed Voucher " + redeemcode,
+ hash: "Voucher " + redeemcode,
memo,
rate: app.get("rates")[user.currency],
currency: user.currency,