This is the main dovel repository, it has the Go code to run dovel SMTP server.
Author: blmayer (bleemayer@gmail.com)
Date: Fri Sep 22 19:23:28 2023 -0300
Parent: 94df03a
Fixed log
commit e25680fe6d1d547191b2938e68aad6db712e604e Author: blmayer <bleemayer@gmail.com> Date: Fri Sep 22 19:23:28 2023 -0300 Fixed log diff --git a/cmd/dovel/backend.go b/cmd/dovel/backend.go index fa95135..51d7d0a 100644 --- a/cmd/dovel/backend.go +++ b/cmd/dovel/backend.go @@ -33,7 +33,7 @@ type Session struct { func (s *Session) AuthPlain(username, password string) error { slog.Debug("authenticating", "user", username, "pass", password) if !v.Validate(username, password) { - slog.Warn(username, "not authorized") + slog.Warn("unauthorized", "user", username) return fmt.Errorf("user not authorized") } slog.Debug("authorized", "user", username)