Fixed limiting errors

This commit is contained in:
Hendrik Belitz
2026-01-20 17:38:40 +01:00
parent 19c3ee519c
commit a381e4e213
2 changed files with 2 additions and 6 deletions
@@ -14,7 +14,6 @@ import {
} from "../email/email-service";
import { TenantAdminService } from "./tenant-admin-service";
import { NotificationService } from "./notification-service";
import * as m from "$i18n/messages";
import { challengeStore } from "./challenge-store";
import { challengeThrottleService } from "./challenge-throttle";
import { timingSafeEqual } from "node:crypto";
+2 -5
View File
@@ -8,9 +8,9 @@
import { ROUTES } from "$lib/const/routes";
import { toast } from "svelte-sonner";
import { writable, type Writable } from "svelte/store";
import { type Infer, superForm, type SuperValidated } from "sveltekit-superforms";
import { superForm } from "sveltekit-superforms";
import { zod4Client as zodClient } from "sveltekit-superforms/adapters";
import { baseSchema, formSchema, type FormSchema } from "./schema";
import { baseSchema, formSchema } from "./schema";
import { onMount } from "svelte";
import { Passkey } from "$lib/components/ui/passkey";
import { Text } from "$lib/components/ui/typography";
@@ -165,9 +165,6 @@
const { form: formData, enhance } = form;
const passkeyLoading: Writable<PasskeyState> = writable("initial");
type FormDataPassphrase = Extract<typeof $formData, { type: "passphrase" }>;
type FormDataPasskey = Extract<typeof $formData, { type: "passkey" }>;
</script>
<Form.Root {formId} {enhance}>