modify text and field name
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ func getConfigWithoutSensitiveData(config *settings.Config) *settings.Config {
|
||||
}
|
||||
|
||||
clonedConfig.DatabaseConfig.DatabasePassword = "****"
|
||||
clonedConfig.SmtpConfig.SmtpPasswd = "****"
|
||||
clonedConfig.SMTPConfig.SMTPPasswd = "****"
|
||||
clonedConfig.SecretKey = "****"
|
||||
|
||||
return clonedConfig
|
||||
|
||||
+2
-2
@@ -80,8 +80,8 @@ func sendTestMail(c *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if !config.EnableSmtp || mail.Container.Current == nil {
|
||||
return errs.ErrSmtpServerNotEnabled
|
||||
if !config.EnableSMTP || mail.Container.Current == nil {
|
||||
return errs.ErrSMTPServerNotEnabled
|
||||
}
|
||||
|
||||
toAddress := c.String("to")
|
||||
|
||||
Reference in New Issue
Block a user