diff --git a/main.go b/main.go index 3b98063..be8c401 100644 --- a/main.go +++ b/main.go @@ -76,7 +76,7 @@ func main() { if err != nil { log.WithError(err).Fatal("Unable to read password from file") } - cfg.Password = string(data) + cfg.Password = strings.TrimSpace(string(data)) } }