mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
config: restore defaults for smtp templates path
It was mistakenly deleted in the previous commit Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -1603,6 +1603,7 @@ func setViperDefaults() {
|
||||
viper.SetDefault("smtp.auth_type", globalConf.SMTPConfig.AuthType)
|
||||
viper.SetDefault("smtp.encryption", globalConf.SMTPConfig.Encryption)
|
||||
viper.SetDefault("smtp.domain", globalConf.SMTPConfig.Domain)
|
||||
viper.SetDefault("smtp.templates_path", globalConf.SMTPConfig.TemplatesPath)
|
||||
}
|
||||
|
||||
func lookupBoolFromEnv(envName string) (bool, bool) {
|
||||
|
||||
Reference in New Issue
Block a user