fix: don't validate as email
This commit is contained in:
parent
02cd490700
commit
847f7537a3
|
@ -271,7 +271,7 @@ const ChangeEmailForm = ({
|
|||
|
||||
const ChangePasswordSchema = z
|
||||
.object({
|
||||
currentPassword: z.string().email(),
|
||||
currentPassword: z.string(),
|
||||
newPassword: z.string(),
|
||||
retypePassword: z.string(),
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue