We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f66826 commit c9ceb45Copy full SHA for c9ceb45
docs/auth/multi-factor-auth.md
@@ -125,9 +125,7 @@ verification code to the user:
125
const hint = resolver.hints[0];
126
const sessionId = resolver.session;
127
128
-new PhoneAuthProvider(getAuth())
129
- .verifyPhoneNumber(hint, sessionId) // triggers the message to the user
130
- .then(verificationId => setVerificationId(verificationId));
+const verificationId = await getAuth().verifyPhoneNumberWithMultiFactorInfo(hint, resolver.session); // Triggers message to user
131
```
132
133
Once the user has entered the verification code you can create a multi-factor
0 commit comments