fix: toLowercase on emailChangeWaitingForVerification (#13940)
Co-authored-by: Omar López <zomars@me.com>
This commit is contained in:
co-authored by
Omar López
parent
ef02d64f90
commit
67256b5b6e
@@ -331,7 +331,10 @@ export const userMetadata = z
|
||||
})
|
||||
.optional(),
|
||||
defaultBookerLayouts: bookerLayouts.optional(),
|
||||
emailChangeWaitingForVerification: z.string().optional(),
|
||||
emailChangeWaitingForVerification: z
|
||||
.string()
|
||||
.transform((data) => data.toLowerCase())
|
||||
.optional(),
|
||||
migratedToOrgFrom: z
|
||||
.object({
|
||||
username: z.string().or(z.null()).optional(),
|
||||
|
||||
Reference in New Issue
Block a user