diff options
| author | Adam Soltys <[email protected]> | 2025-01-10 22:19:01 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-10 22:19:01 -0800 |
| commit | 6560cc552aa8fecff14292bfa31e8369c42c2c73 (patch) | |
| tree | 05fbc13baa69f1dd1d87856870c5e6d5ce8d5fd3 /routes | |
| parent | e2ba4a77a77daa29869533f6e500b6a6ec3e9708 (diff) | |
| download | coinos-server-6560cc552aa8fecff14292bfa31e8369c42c2c73.tar.gz coinos-server-6560cc552aa8fecff14292bfa31e8369c42c2c73.zip | |
send nsec on registration
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/users.ts | 2 |
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); |
