aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-03-26 15:01:28 -0400
committerAdam Soltys <[email protected]>2021-04-27 18:06:39 -0400
commit2621fec1c189b6de5e3bd2b86b391443ccd7a8a7 (patch)
tree4f076cc8291d73f971f8e3861c4905ba20e690fe /routes
parent3c0e24599686733e85079241e9f38017f8027362 (diff)
downloadcoinos-server-2621fec1c189b6de5e3bd2b86b391443ccd7a8a7.tar.gz
coinos-server-2621fec1c189b6de5e3bd2b86b391443ccd7a8a7.zip
enable trading
Diffstat (limited to 'routes')
-rw-r--r--routes/users.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/users.js b/routes/users.js
index d0232eb4..d6dc68a7 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -202,6 +202,7 @@ app.post(
hex
});
emit(req.user.username, "key", key);
+ res.send(key);
})
);
@@ -364,7 +365,7 @@ app.post(
user = pick(user, ...whitelist);
res.send({ user, token });
} catch (e) {
- // l.error("login error", e.message);
+ l.error("login error", e.message);
res.status(401).end();
}
})