Skip to content

Commit

Permalink
docs(auth, mfa): fix example code typo (#7569)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesgadyal authored Jan 30, 2024
1 parent d5b66ca commit b5fd29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/auth/multi-factor-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ can complete the process:
```js
const cred = auth.PhoneAuthProvider.credential(verificationId, verificationCode);
const multiFactorAssertion = auth.PhoneMultiFactorGenerator.assertion(cred);
await multiFactorUser.enroll(multiFactorAssertion, 'Optional display name for the user);
await multiFactorUser.enroll(multiFactorAssertion, 'Optional display name for the user');
```

You can inspect [`User#multiFactor`](/reference/auth/user#multiFactor) for
Expand Down

0 comments on commit b5fd29c

Please sign in to comment.