mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-28 18:26:36 +00:00
fix: user can't update account if email is empty
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
.optional(),
|
||||
smtpUser: z.string().optional(),
|
||||
smtpPassword: z.string().optional(),
|
||||
smtpFrom: z.email().optional(),
|
||||
smtpFrom: z.email().or(z.literal('')).optional(),
|
||||
smtpTls: z.enum(['none', 'starttls', 'tls']),
|
||||
smtpSkipCertVerify: z.boolean(),
|
||||
emailOneTimeAccessAsUnauthenticatedEnabled: z.boolean(),
|
||||
|
||||
Reference in New Issue
Block a user