forgot a file
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user