diff options
| author | Adam Soltys <[email protected]> | 2025-01-02 12:09:40 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-02 12:09:40 -0800 |
| commit | 1bfdc18184fd57b741f5ebdfb0e323747f4d06b0 (patch) | |
| tree | 6518ad4b5a249bc79e7023b9253710f775bdbb5b /src/routes/(static)/register/+page.server.ts | |
| parent | 1837d90cc8ef3b79bded1ca47a49e68b082b45ef (diff) | |
| download | coinos-ui-1bfdc18184fd57b741f5ebdfb0e323747f4d06b0.tar.gz coinos-ui-1bfdc18184fd57b741f5ebdfb0e323747f4d06b0.zip | |
profile to picture
Diffstat (limited to 'src/routes/(static)/register/+page.server.ts')
| -rw-r--r-- | src/routes/(static)/register/+page.server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(static)/register/+page.server.ts b/src/routes/(static)/register/+page.server.ts index b459c622..561b34a0 100644 --- a/src/routes/(static)/register/+page.server.ts +++ b/src/routes/(static)/register/+page.server.ts @@ -16,9 +16,9 @@ export const actions = { const ip = request.headers.get("cf-connecting-ip"); const form = await fd(request); - let { profile, username, password, cipher, salt, pubkey, loginRedirect } = + let { picture, username, password, cipher, salt, pubkey, loginRedirect } = form; - const user = { profile, username, password, cipher, salt, pubkey }; + const user = { picture, username, password, cipher, salt, pubkey }; let error; if (loginRedirect === "undefined") loginRedirect = undefined; |
