Skip to content

Commit 1a9dbc4

Browse files
committed
Use more reliable username variable in error log output
1 parent 03b8263 commit 1a9dbc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webauthn-server-demo/src/main/scala/demo/webauthn/WebAuthnServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public Either<List<String>, SuccessfulAuthenticationResult> finishAuthentication
269269
} catch (Exception e) {
270270
logger.error(
271271
"Failed to update signature count for user \"{}\", credential \"{}\"",
272-
request.getUsername(),
272+
username,
273273
response.getCredential().id(),
274274
e
275275
);

0 commit comments

Comments
 (0)