summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/authentication/generateAuthenticationOptions.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-07-27 22:11:09 -0700
committerMatthew Miller <matthew@millerti.me>2022-07-27 22:11:09 -0700
commit77c6942aa673c019715bd6dbf9c92264630fc85a (patch)
tree28f61c68d08064fcc56de28edc9f3c2d24b83cc6 /packages/server/src/authentication/generateAuthenticationOptions.ts
parenta0468e98a2be9860e303eeb752bf065b1580fe47 (diff)
Export named generateAuthenticationOptions()
Diffstat (limited to 'packages/server/src/authentication/generateAuthenticationOptions.ts')
-rw-r--r--packages/server/src/authentication/generateAuthenticationOptions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/authentication/generateAuthenticationOptions.ts b/packages/server/src/authentication/generateAuthenticationOptions.ts
index 54a81a3..07b4c3a 100644
--- a/packages/server/src/authentication/generateAuthenticationOptions.ts
+++ b/packages/server/src/authentication/generateAuthenticationOptions.ts
@@ -30,7 +30,7 @@ export type GenerateAuthenticationOptionsOpts = {
* @param extensions Additional plugins the authenticator or browser should use during authentication
* @param rpID Valid domain name (after `https://`)
*/
-export default function generateAuthenticationOptions(
+export function generateAuthenticationOptions(
options: GenerateAuthenticationOptionsOpts = {},
): PublicKeyCredentialRequestOptionsJSON {
const {