diff options
author | Matthew Miller <matthew@millerti.me> | 2021-08-27 06:35:55 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2021-08-27 06:35:55 -0700 |
commit | de4b41c30b847dbed0a022cb2a51607426c68ffc (patch) | |
tree | a1c1bf1452369660dd5ac8c475cb5c4531d9fb72 /packages/server/src/authentication/verifyAuthenticationResponse.ts | |
parent | 6cb53ff7d77f1bb6918b946d797c03607fb989d8 (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.ts | 2 |
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}`); } |