mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-11-10 19:52:50 +00:00
chore: WIP
This commit is contained in:
15 files changed
+520
-53
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const authFormSchema = z.object({
|
||||
username: z
|
||||
.string()
|
||||
.min(4, {
|
||||
message: "Username must be at least 4 characters.",
|
||||
})
|
||||
.max(20),
|
||||
password: z.string().min(6),
|
||||
email: z.string().email(),
|
||||
});
|
||||
Reference in new issue
Block a user