fix: log less fields on ws connection

This commit is contained in:
Tobiasz Heller 2024-01-04 16:06:26 +01:00
parent f3706182cc
commit 21a45b5875

View File

@ -2,6 +2,7 @@ package command
import ( import (
"fmt" "fmt"
"github.com/avast/retry-go/v4" "github.com/avast/retry-go/v4"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/twofas/2fas-server/internal/api/browser_extension/domain" "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{ logging.WithFields(logging.Fields{
"browser_extension_id": cmd.ExtensionId, "browser_extension_id": cmd.ExtensionId,
"device_id": cmd.DeviceId, "device_id": cmd.DeviceId,
"token": cmd.Token,
"token_request_id": cmd.TokenRequestId, "token_request_id": cmd.TokenRequestId,
}).Info("Start command `Send2FaToken`") }).Info("Start command `Send2FaToken`")