From 81ec32a8b606db716c44f5c09b9ba92c62df71d6 Mon Sep 17 00:00:00 2001 From: Tianzhi Jin Date: Wed, 14 May 2025 15:44:38 +0800 Subject: [PATCH] fix(webauthn): correct arg in debug log --- internal/ui/webauthn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/webauthn.go b/internal/ui/webauthn.go index 23bf8de6..c67c01da 100644 --- a/internal/ui/webauthn.go +++ b/internal/ui/webauthn.go @@ -209,7 +209,7 @@ func (h *handler) finishLogin(w http.ResponseWriter, r *http.Request) { slog.Debug("WebAuthn: parsed response flags", slog.Bool("user_present", parsedResponse.Response.AuthenticatorData.Flags.HasUserPresent()), - slog.Bool("user_verified", parsedResponse.Response.AuthenticatorData.Flags.HasUserPresent()), + slog.Bool("user_verified", parsedResponse.Response.AuthenticatorData.Flags.HasUserVerified()), slog.Bool("has_attested_credential_data", parsedResponse.Response.AuthenticatorData.Flags.HasAttestedCredentialData()), slog.Bool("has_backup_eligible", parsedResponse.Response.AuthenticatorData.Flags.HasBackupEligible()), slog.Bool("has_backup_state", parsedResponse.Response.AuthenticatorData.Flags.HasBackupState()),