Add logon page
This commit is contained in:
8
src/schemas/auth.schema.ts
Normal file
8
src/schemas/auth.schema.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const loginSchema = z.object({
|
||||
username: z.string().min(1, "Username is required"),
|
||||
password: z.string().min(1, "Password is required"),
|
||||
});
|
||||
|
||||
export type LoginSchema = typeof loginSchema;
|
||||
Reference in New Issue
Block a user