Explorar o código

fix(googlereader): generated tokens should not be logged even in debug mode

Frédéric Guillot hai 5 meses
pai
achega
5594586941
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      internal/googlereader/handler.go

+ 0 - 1
internal/googlereader/handler.go

@@ -244,7 +244,6 @@ func (h *handler) tokenHandler(w http.ResponseWriter, r *http.Request) {
 		slog.String("client_ip", clientIP),
 		slog.String("user_agent", r.UserAgent()),
 		slog.Int64("user_id", request.UserID(r)),
-		slog.String("token", token),
 	)
 
 	w.Header().Add("Content-Type", "text/plain; charset=UTF-8")