summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-23 09:42:56 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-23 09:42:56 -0700
commitc6821e757ee6a895a2e94f74b5dfb93c436bf757 (patch)
tree7cd6da2f934e4d51133443eaade09f58f9058a5c
parentfaec10614de371411ea27df82ea241c6036dd2e9 (diff)
Remove unused variable
-rw-r--r--packages/server/src/assertion/verifyAssertionResponse.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/assertion/verifyAssertionResponse.ts b/packages/server/src/assertion/verifyAssertionResponse.ts
index 015c467..f5ae7f2 100644
--- a/packages/server/src/assertion/verifyAssertionResponse.ts
+++ b/packages/server/src/assertion/verifyAssertionResponse.ts
@@ -44,7 +44,7 @@ export default function verifyAssertionResponse(
const authDataBuffer = base64url.toBuffer(base64AuthenticatorData);
const authDataStruct = parseAuthenticatorData(authDataBuffer);
- const { credentialID, flags, counter } = authDataStruct;
+ const { flags, counter } = authDataStruct;
if (!(flags.up)) {
throw new Error('User was NOT present during assertion!');