mirror of
https://github.com/twofas/2fas-server.git
synced 2024-11-22 02:10:38 +01:00
fix: log less fields on ws connection
This commit is contained in:
parent
f3706182cc
commit
21a45b5875
@ -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`")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user