mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-04 16:20:13 +01:00
fix logger variable
This commit is contained in:
parent
fed62e88cf
commit
87204ad85e
@ -46,9 +46,7 @@ type Send2FaTokenHandler struct {
|
||||
|
||||
func (h *Send2FaTokenHandler) Handle(ctx context.Context, cmd *Send2FaToken) error {
|
||||
extId, _ := uuid.Parse(cmd.ExtensionId)
|
||||
log := logging.FromContext(ctx)
|
||||
|
||||
log = log.WithFields(logging.Fields{
|
||||
log := logging.FromContext(ctx).WithFields(logging.Fields{
|
||||
"browser_extension_id": cmd.ExtensionId,
|
||||
"device_id": cmd.DeviceId,
|
||||
"token_request_id": cmd.TokenRequestId,
|
||||
|
Loading…
Reference in New Issue
Block a user