Skip to content

Commit

Permalink
fix: consistent logging of user UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Feb 16, 2024
1 parent 91aaf8d commit 367e39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sshtoken/authhandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func pubKeyAuth(log *slog.Logger, ldb LagoonDBService) ssh.PublicKeyHandler {
authnSuccessTotal.Inc()
ctx.SetValue(userUUID, user.UUID)
log.Info("authentication successful",
slog.String("userID", user.UUID.String()))
slog.String("userUUID", user.UUID.String()))
return true
}
}

0 comments on commit 367e39d

Please sign in to comment.