recovery form, fix email service

This commit is contained in:
Alex Holliday committed 2026-02-06 22:14:42 +00:00
1 parent 16e8035299
commit 6a0f3426b3
5 files changed
+66 -7

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { z } from "zod";
export const recoverySchema = z.object({
email: z
.string()
.min(1, "auth.common.inputs.email.errors.empty")
.email("auth.common.inputs.email.errors.invalid")
.transform((val) => val.toLowerCase().trim()),
});
export type RecoveryFormData = z.infer<typeof recoverySchema>;