summaryrefslogtreecommitdiffhomepage
path: root/example/index.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-04-27 06:39:16 -0700
committerMatthew Miller <matthew@millerti.me>2022-04-27 06:39:16 -0700
commitdb2d9b2ab4df4c00566951107657a211cef74c90 (patch)
tree53faf656e8567747c3916d9d6b3bdde2e75fb165 /example/index.ts
parent3393143f68ecb428d61f43d2fa65915fbd38fa49 (diff)
Update example to v5.1.0
Diffstat (limited to 'example/index.ts')
-rw-r--r--example/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/index.ts b/example/index.ts
index c2c1d07..3168477 100644
--- a/example/index.ts
+++ b/example/index.ts
@@ -258,7 +258,7 @@ app.post('/verify-authentication', (req, res) => {
expectedOrigin,
expectedRPID: rpID,
authenticator: dbAuthenticator,
- fidoUserVerification: 'required',
+ requireUserVerification: true,
};
verification = verifyAuthenticationResponse(opts);
} catch (error) {