Reformat (x2)
This commit is contained in:
parent
8d1e755bbc
commit
72898aa8c8
|
@ -1,6 +1,10 @@
|
|||
import { fail, redirect } from "@sveltejs/kit"
|
||||
import { setError, superValidate } from "sveltekit-superforms"
|
||||
import { zod } from "sveltekit-superforms/adapters"
|
||||
import * as z from "zod"
|
||||
import bcrypt from "bcrypt"
|
||||
|
||||
import type { Actions } from "./$types"
|
||||
import { db } from "$lib/server/database"
|
||||
|
||||
export const load = async ({ locals }) => {
|
||||
|
@ -13,11 +17,6 @@ export const load = async ({ locals }) => {
|
|||
}
|
||||
}
|
||||
|
||||
import { setError, superValidate } from "sveltekit-superforms"
|
||||
import { zod } from "sveltekit-superforms/adapters"
|
||||
import * as z from "zod"
|
||||
import type { Actions } from "./$types"
|
||||
|
||||
const signUpSchema = z.object({
|
||||
username: z
|
||||
.string()
|
||||
|
|
Loading…
Reference in New Issue