From 367e39d6cba1f5e5154a2a4dd1403b0ced5226d5 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Fri, 16 Feb 2024 17:24:21 +0800 Subject: [PATCH] fix: consistent logging of user UUID --- internal/sshtoken/authhandler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sshtoken/authhandler.go b/internal/sshtoken/authhandler.go index a7258d28..c32ec40c 100644 --- a/internal/sshtoken/authhandler.go +++ b/internal/sshtoken/authhandler.go @@ -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 } }