summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/authentication/verifyAuthenticationResponse.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-08-16 00:04:38 -0700
committerMatthew Miller <matthew@millerti.me>2022-08-16 00:04:38 -0700
commitce26047e0526370fcfe1a28d32e6ee1fca3f03dd (patch)
treeaa7c83e396a5180813918743faefbba7cb1b0da4 /packages/server/src/authentication/verifyAuthenticationResponse.ts
parent7f7b93f09c0bab64418a540c3f573bf46b6bc055 (diff)
Run linting over changes
Diffstat (limited to 'packages/server/src/authentication/verifyAuthenticationResponse.ts')
-rw-r--r--packages/server/src/authentication/verifyAuthenticationResponse.ts8
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/server/src/authentication/verifyAuthenticationResponse.ts b/packages/server/src/authentication/verifyAuthenticationResponse.ts
index adf15e3..d25d521 100644
--- a/packages/server/src/authentication/verifyAuthenticationResponse.ts
+++ b/packages/server/src/authentication/verifyAuthenticationResponse.ts
@@ -22,8 +22,8 @@ export type VerifyAuthenticationResponseOpts = {
authenticator: AuthenticatorDevice;
requireUserVerification?: boolean;
advancedFIDOConfig?: {
- userVerification?: UserVerificationRequirement,
- },
+ userVerification?: UserVerificationRequirement;
+ };
};
/**
@@ -165,9 +165,7 @@ export async function verifyAuthenticationResponse(
}
if (advancedFIDOConfig !== undefined) {
- const {
- userVerification: fidoUserVerification,
- } = advancedFIDOConfig;
+ const { userVerification: fidoUserVerification } = advancedFIDOConfig;
/**
* Use FIDO Conformance-defined rules for verifying UP and UV flags