summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--example/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/index.ts b/example/index.ts
index c748145..c11550c 100644
--- a/example/index.ts
+++ b/example/index.ts
@@ -227,7 +227,7 @@ app.get('/generate-authentication-options', async (req, res) => {
type: 'public-key',
transports: dev.transports,
})),
- userVerification: 'required',
+ userVerification: 'preferred',
rpID,
};
@@ -273,7 +273,7 @@ app.post('/verify-authentication', async (req, res) => {
expectedOrigin,
expectedRPID: rpID,
authenticator: dbAuthenticator,
- requireUserVerification: true,
+ requireUserVerification: false,
};
verification = await verifyAuthenticationResponse(opts);
} catch (error) {