fix: Set log level to debug for message about API token (#757)

pull/764/head
Zois Pagoulatos 4 years ago committed by GitHub
parent fb9469e58e
commit 4689853493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ func (api *API) RequireToken(fn http.HandlerFunc) http.HandlerFunc {
log.Debugf("Expected token to be \"%s\"", api.Token) log.Debugf("Expected token to be \"%s\"", api.Token)
return return
} }
log.Println("Valid token found.") log.Debug("Valid token found.")
fn(w, r) fn(w, r)
} }
} }

Loading…
Cancel
Save