feat: implement birthday checks and handle all errors

This commit is contained in:
mrjvs
2026-08-18 00:03:11 +02:00
parent 0cd6b85b1f
commit 0c2c641b54
4 changed files with 78 additions and 14 deletions

View File

@@ -100,7 +100,7 @@ export const RegisterSchema = z.object({
username: z.string(),
miiName: z.string(),
password: z.string(),
birthday: z.string(),
birthday: z.iso.date(),
captchaResponse: z.string().optional()
});
export type ApiAuthRegisterRequest = z.infer<typeof RegisterSchema>;