fix: make SMTP username and password optional in frontend validation (#9895)

This commit is contained in:
Diego Imbert
2026-07-02 23:18:49 +02:00
committed by GitHub
parent 5af91a677c
commit 37bb57474e
@@ -5,10 +5,6 @@
smtpSettings.smtp_host &&
smtpSettings.smtp_host.trim() !== '' &&
smtpSettings.smtp_port &&
smtpSettings.smtp_username &&
smtpSettings.smtp_username.trim() !== '' &&
smtpSettings.smtp_password &&
smtpSettings.smtp_password.trim() !== '' &&
smtpSettings.smtp_from &&
smtpSettings.smtp_from.trim() !== ''
)