fix: toLowercase on emailChangeWaitingForVerification (#13940)
Co-authored-by: Omar López <zomars@me.com>
This commit is contained in:
1 parent
ef02d64f90
commit
67256b5b6e
1 file changed
+4
-1
@@ -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