feat: add change password form (#199)

This commit is contained in:
Manuel authored and GitHub committed 2024-03-06 21:20:41 +01:00
1 parent c0401702f0
commit beb7defd32
6 files changed
+117 -8

No files matched your search

+6
View File
@@ -33,10 +33,16 @@ const editProfileSchema = z.object({
.nullable(),
});
const changePasswordSchema = z.object({
userId: z.string(),
password: passwordSchema,
});
export const userSchemas = {
signIn: signInSchema,
init: initUserSchema,
create: createUserSchema,
password: passwordSchema,
editProfile: editProfileSchema,
changePassword: changePasswordSchema,
};