mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-26 18:46:39 -05:00
fix: fix last registration error handling cases
This commit is contained in:
@@ -96,10 +96,11 @@ export const RefreshSchema = z.object({
|
||||
export type ApiAuthRefreshRequest = z.infer<typeof RefreshSchema>;
|
||||
|
||||
export const RegisterSchema = z.object({
|
||||
email: z.email(),
|
||||
email: z.string(),
|
||||
username: z.string(),
|
||||
miiName: z.string(),
|
||||
password: z.string(),
|
||||
passwordConfirm: z.string(),
|
||||
birthday: z.iso.date(),
|
||||
captchaResponse: z.string().optional()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user