forgot a file

This commit is contained in:
Eclypsed
2024-01-23 01:22:49 -05:00
parent 830ab55023
commit 701fc69bf0

View File

@@ -2,6 +2,8 @@ import { SECRET_JWT_KEY } from '$env/static/private'
import { fail, redirect } from '@sveltejs/kit' import { fail, redirect } from '@sveltejs/kit'
import { genSaltSync, hashSync } from 'bcrypt-ts' import { genSaltSync, hashSync } from 'bcrypt-ts'
import type { PageServerLoad, Actions } from './$types' import type { PageServerLoad, Actions } from './$types'
import { Users } from '$lib/server/users'
import type { User } from '$lib/server/users'
export const load: PageServerLoad = async ({ url }) => { export const load: PageServerLoad = async ({ url }) => {
const redirectLocation = url.searchParams.get('redirect') const redirectLocation = url.searchParams.get('redirect')