Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docs/auth/multi-factor-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ verification code to the user:
const hint = resolver.hints[0];
const sessionId = resolver.session;

new PhoneAuthProvider(getAuth())
.verifyPhoneNumber(hint, sessionId) // triggers the message to the user
.then(verificationId => setVerificationId(verificationId));
const verificationId = await getAuth().verifyPhoneNumberWithMultiFactorInfo(hint, resolver.session); // Triggers message to user
```

Once the user has entered the verification code you can create a multi-factor
Expand Down
Loading