Don't log challengeToken

This commit is contained in:
Knut Ahlers 2020-11-20 23:03:58 +01:00
parent dea42ee207
commit 37dcf05b87
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -33,7 +33,7 @@ func handleWebHookPush(w http.ResponseWriter, r *http.Request) {
// When asked for a confirmation, just confirm it
if challengeToken := r.URL.Query().Get("hub.challenge"); challengeToken != "" {
logger.WithField("challenge", challengeToken).Debug("Confirming webhook subscription")
logger.Debug("Confirming webhook subscription")
w.Write([]byte(challengeToken))
return
}