summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/server/src/authentication/verifyAuthenticationResponse.ts2
-rw-r--r--packages/server/src/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/server/src/authentication/verifyAuthenticationResponse.ts b/packages/server/src/authentication/verifyAuthenticationResponse.ts
index ebc1dca..227b0f1 100644
--- a/packages/server/src/authentication/verifyAuthenticationResponse.ts
+++ b/packages/server/src/authentication/verifyAuthenticationResponse.ts
@@ -37,7 +37,7 @@ export type VerifyAuthenticationResponseOpts = {
* @param requireUserVerification (Optional) Enforce user verification by the authenticator
* (via PIN, fingerprint, etc...)
*/
-export default function verifyAuthenticationResponse(
+export function verifyAuthenticationResponse(
options: VerifyAuthenticationResponseOpts,
): VerifiedAuthenticationResponse {
const {
diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts
index 19473f5..daa6861 100644
--- a/packages/server/src/index.ts
+++ b/packages/server/src/index.ts
@@ -5,7 +5,7 @@
import generateRegistrationOptions from './registration/generateRegistrationOptions';
import verifyRegistrationResponse from './registration/verifyRegistrationResponse';
import { generateAuthenticationOptions } from './authentication/generateAuthenticationOptions';
-import verifyAuthenticationResponse from './authentication/verifyAuthenticationResponse';
+import { verifyAuthenticationResponse } from './authentication/verifyAuthenticationResponse';
import MetadataService from './services/metadataService';
import SettingsService from './services/settingsService';