disable insecure auth

This commit is contained in:
Aine 2022-09-06 18:51:46 +03:00
parent 085cdf5dbf
commit 17c8d06a33
No known key found for this signature in database
GPG key ID: 34969C908CCA2804

View file

@ -49,7 +49,6 @@ func Start(domain, port, loglevel string, maxSize int, client Client) error {
s.ReadTimeout = 10 * time.Second
s.WriteTimeout = 10 * time.Second
s.MaxMessageBytes = maxSize * 1024 * 1024
s.AllowInsecureAuth = true
if log.GetLevel() == "DEBUG" || log.GetLevel() == "TRACE" {
s.Debug = os.Stdout
}