aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-26 16:08:00 -0800
committerAdam Soltys <[email protected]>2026-02-26 16:08:00 -0800
commit50e2b3297e2b6f7d2e15f11f2fb511fa39c5bb28 (patch)
treedf8169460317f352ebefcbe958c405b7213effca /lib
parent71fde8aa24b2e976b450fa16e3debe1078433086 (diff)
downloadcoinos-server-50e2b3297e2b6f7d2e15f11f2fb511fa39c5bb28.tar.gz
coinos-server-50e2b3297e2b6f7d2e15f11f2fb511fa39c5bb28.zip
client-side password auth
Diffstat (limited to 'lib')
-rw-r--r--lib/register.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/register.ts b/lib/register.ts
index ac1997db..791f16a5 100644
--- a/lib/register.ts
+++ b/lib/register.ts
@@ -13,7 +13,7 @@ import { v4 } from "uuid";
const valid = /^[\p{L}\p{N}]{2,24}$/u;
export default async (user, ip) => {
- let { password, pubkey, username } = user;
+ let { password, pubkey, username, authPubkey } = user;
l("registering", username);
const reserved = ["ecash"];