chore(auth): drop the unused recovery-code schema export

This commit is contained in:
Marc-André Bombeck committed 2026-06-27 21:55:40 +02:00
1 parent 26db4295d2
commit c01d7f9626
2 files changed
+1 -7

No files matched your search

-6
View File
@@ -11,12 +11,6 @@ export const totpCodeSchema = z
.trim()
.regex(/^\d{6}$/, "Enter the 6-digit code from your authenticator app");
/**
* A recovery code as displayed (`XXXXX-XXXXX`) — accepted case-insensitively
* with or without the separator; the server normalises before comparing.
*/
export const recoveryCodeSchema = z.string().trim().min(8).max(32);
export const totpConfirmSchema = z.object({
code: totpCodeSchema,
});