fix: reset sender name and rate limit on toggle custom smtp off

This commit is contained in:
Kang Ming committed 2021-12-01 12:29:44 +08:00
1 parent 00c3078d09
commit cbcd20af28
1 file changed
+2
@@ -220,6 +220,8 @@ const Settings = () => {
SMTP_PORT: "",
SMTP_USER: "",
SMTP_PASS: "",
SMTP_SENDER_NAME: "",
RATE_LIMIT_EMAIL_SENT: 30,
})
}
setCustomSMTP(!isCustomSMTPEnabled)