diff options
| author | Adam Soltys <[email protected]> | 2025-11-26 14:53:29 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-06 08:57:26 -0800 |
| commit | e95e3b8e35a858cc200de6c0b74e3e172e4f6d6e (patch) | |
| tree | 27d4c35c51f1bffed8628689af9d840c87fb7941 /routes | |
| parent | 2a408a3a7486464296e4e7f996fc2140a664d407 (diff) | |
| download | coinos-server-e95e3b8e35a858cc200de6c0b74e3e172e4f6d6e.tar.gz coinos-server-e95e3b8e35a858cc200de6c0b74e3e172e4f6d6e.zip | |
ark address
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/users.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routes/users.ts b/routes/users.ts index 64659a01..a25b6a8e 100644 --- a/routes/users.ts +++ b/routes/users.ts @@ -308,6 +308,7 @@ export default { const attributes = [ "about", + "arkAddress", "autowithdraw", "banner", "currencies", @@ -347,6 +348,8 @@ export default { user.fresh = false; user.tip = Math.max(0, Math.min(1000, Number.parseInt(user.tip))); + console.log("ARK ADDR", user.arkAddress); + if (password && password === confirm) { user.password = await Bun.password.hash(password, { algorithm: "bcrypt", |
