mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-30 12:39:03 +01:00
fix: user can't update account if email is empty
This commit is contained in:
+1
-1
@@ -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