~bigbes/core-go

f762ad220360924eaf933710724411fd29f747a6 — Peter Sanchez 4 years ago dd20891
Bugfix, mail config placed in wrong setting.
1 files changed, 1 insertions(+), 1 deletions(-)

M email/send.go
M email/send.go => email/send.go +1 -1
@@ 64,7 64,7 @@ func mailSetup(ctx context.Context) (*smtp.Client, *mail.Address, error) {
	if authtype, ok := conf.Get("mail", "smtp-auth"); ok {
		switch authtype {
		case "none", "plain":
			mailconf.enctype = authtype
			mailconf.authtype = authtype
		default:
			panic(fmt.Errorf("Invalid SMTP configuration value for [smtp-auth]"))
		}