From 21a45b58752b94369d88d22e610487b2b5066e80 Mon Sep 17 00:00:00 2001 From: Tobiasz Heller Date: Thu, 4 Jan 2024 16:06:26 +0100 Subject: [PATCH] fix: log less fields on ws connection --- internal/api/mobile/app/command/send_2fa_token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/mobile/app/command/send_2fa_token.go b/internal/api/mobile/app/command/send_2fa_token.go index d4f2834..741e437 100644 --- a/internal/api/mobile/app/command/send_2fa_token.go +++ b/internal/api/mobile/app/command/send_2fa_token.go @@ -2,6 +2,7 @@ package command import ( "fmt" + "github.com/avast/retry-go/v4" "github.com/google/uuid" "github.com/twofas/2fas-server/internal/api/browser_extension/domain" @@ -47,7 +48,6 @@ func (h *Send2FaTokenHandler) Handle(cmd *Send2FaToken) error { logging.WithFields(logging.Fields{ "browser_extension_id": cmd.ExtensionId, "device_id": cmd.DeviceId, - "token": cmd.Token, "token_request_id": cmd.TokenRequestId, }).Info("Start command `Send2FaToken`")