diff options
| author | Adam Soltys <[email protected]> | 2023-11-15 22:59:56 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-11-15 22:59:56 -0800 |
| commit | a81cb5add30036b5cf206e9f8003287922344725 (patch) | |
| tree | 3b574c3242b24f2c5998b36a9f57d154f92ed0d2 /lib/register.js | |
| parent | 545820baa7bf625fdb4abc7ec94154049391b710 (diff) | |
| download | coinos-server-a81cb5add30036b5cf206e9f8003287922344725.tar.gz coinos-server-a81cb5add30036b5cf206e9f8003287922344725.zip | |
hash uploads
Diffstat (limited to 'lib/register.js')
| -rw-r--r-- | lib/register.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/register.js b/lib/register.js index 9f8f927e..798565b9 100644 --- a/lib/register.js +++ b/lib/register.js @@ -8,7 +8,7 @@ import { s, g } from "$lib/db"; import { got } from "got"; export default async (user, ip, requireChallenge) => { - let { password, pubkey, username } = user; + let { profile, password, pubkey, username } = user; l("registering", username); if (!username) throw new Error("Username required"); |
