summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/authentication/verifyAuthenticationResponse.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2021-08-27 06:35:55 -0700
committerMatthew Miller <matthew@millerti.me>2021-08-27 06:35:55 -0700
commitde4b41c30b847dbed0a022cb2a51607426c68ffc (patch)
treea1c1bf1452369660dd5ac8c475cb5c4531d9fb72 /packages/server/src/authentication/verifyAuthenticationResponse.ts
parent6cb53ff7d77f1bb6918b946d797c03607fb989d8 (diff)
Clean up a couple of "assertion"'s
Diffstat (limited to 'packages/server/src/authentication/verifyAuthenticationResponse.ts')
-rw-r--r--packages/server/src/authentication/verifyAuthenticationResponse.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/authentication/verifyAuthenticationResponse.ts b/packages/server/src/authentication/verifyAuthenticationResponse.ts
index 6e5f3e0..cd83be3 100644
--- a/packages/server/src/authentication/verifyAuthenticationResponse.ts
+++ b/packages/server/src/authentication/verifyAuthenticationResponse.ts
@@ -76,7 +76,7 @@ export default function verifyAuthenticationResponse(
const { type, origin, challenge, tokenBinding } = clientDataJSON;
- // Make sure we're handling an assertion
+ // Make sure we're handling an authentication
if (type !== 'webauthn.get') {
throw new Error(`Unexpected authentication response type: ${type}`);
}