diff options
| author | Adam Soltys <[email protected]> | 2025-01-07 14:42:03 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-07 14:42:03 -0800 |
| commit | 2358d1bf39c34a508db6c50f0f6312ee411a8a17 (patch) | |
| tree | c1a592710013c0db2f4d992f6884f4fd371f125d /src/routes/(static)/register/+page.server.ts | |
| parent | 493cb3a3504fdc2791d47fd032f5ac9d2ccc66b7 (diff) | |
| download | coinos-ui-2358d1bf39c34a508db6c50f0f6312ee411a8a17.tar.gz coinos-ui-2358d1bf39c34a508db6c50f0f6312ee411a8a17.zip | |
nostr signin
Diffstat (limited to 'src/routes/(static)/register/+page.server.ts')
| -rw-r--r-- | src/routes/(static)/register/+page.server.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/routes/(static)/register/+page.server.ts b/src/routes/(static)/register/+page.server.ts index 561b34a0..bf908c54 100644 --- a/src/routes/(static)/register/+page.server.ts +++ b/src/routes/(static)/register/+page.server.ts @@ -1,4 +1,4 @@ -import { get, fd, login, post } from "$lib/utils"; +import { fd, get, login, post } from "$lib/utils"; import { fail, redirect } from "@sveltejs/kit"; export const load = async ({ parent }) => { @@ -16,9 +16,8 @@ export const actions = { const ip = request.headers.get("cf-connecting-ip"); const form = await fd(request); - let { picture, username, password, cipher, salt, pubkey, loginRedirect } = - form; - const user = { picture, username, password, cipher, salt, pubkey }; + let { picture, username, password, pubkey, loginRedirect } = form; + const user = { picture, username, password, pubkey }; let error; if (loginRedirect === "undefined") loginRedirect = undefined; |
