✨ Add basic credentials authentication

This commit is contained in:
Meier Lukas committed 2023-07-28 18:51:44 +02:00
1 parent d507f0807f
commit d7f6bdf417
11 files changed
+794 -12

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { z } from 'zod';
export const signInSchema = z.object({
name: z.string(),
password: z.string(),
});
export const signUpFormSchema = z.object({
username: z.string(),
password: z.string().min(8),
acceptTos: z.boolean(),
});