aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-01-10 22:19:01 -0800
committerAdam Soltys <[email protected]>2025-01-10 22:19:01 -0800
commit6560cc552aa8fecff14292bfa31e8369c42c2c73 (patch)
tree05fbc13baa69f1dd1d87856870c5e6d5ce8d5fd3 /routes
parente2ba4a77a77daa29869533f6e500b6a6ec3e9708 (diff)
downloadcoinos-server-6560cc552aa8fecff14292bfa31e8369c42c2c73.tar.gz
coinos-server-6560cc552aa8fecff14292bfa31e8369c42c2c73.zip
send nsec on registration
Diffstat (limited to 'routes')
-rw-r--r--routes/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/users.ts b/routes/users.ts
index 298698f5..af5794d5 100644
--- a/routes/users.ts
+++ b/routes/users.ts
@@ -158,7 +158,7 @@ export default {
l("registered new user", user.username);
- res.send({ ...pick(user, whitelist), token });
+ res.send({ ...pick(user, whitelist), sk: user.sk, token });
} catch (e) {
err("problem registering", e.message);
res.code(500).send(e.message);