diff options
Diffstat (limited to 'cmd/monfront/authenticater.go')
-rw-r--r-- | cmd/monfront/authenticater.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/monfront/authenticater.go b/cmd/monfront/authenticater.go index 8453264..e43c6b2 100644 --- a/cmd/monfront/authenticater.go +++ b/cmd/monfront/authenticater.go @@ -7,7 +7,6 @@ import ( "database/sql" "encoding/base64" "fmt" - "log" "net/http" "strings" "time" @@ -84,7 +83,7 @@ func (a *Authenticator) Handler() (func(*Context) error, error) { } p := pwHash{} if err := p.Parse(found); err != nil { - log.Printf("could not parse hash for user '%s': %s", user, err) + c.log.Warn("could not parse hash for user", "user", user, "error", err) return a.Unauthorized(c) } if ok, err := p.compare(pass); err != nil { |