fix: allow login without password

This commit is contained in:
Fredrik Burmester
2024-08-12 18:00:25 +02:00
parent cb95ccff3a
commit 1368fbd935

View File

@@ -11,7 +11,6 @@ import { z } from "zod";
const CredentialsSchema = z.object({
username: z.string().min(1, "Username is required"),
password: z.string().min(1, "Password is required"),
});
const Login: React.FC = () => {