Skip to content

Commit fcbc6d2

Browse files
author
renkelvin
authored
Remove recommendation to use deprecated fetchSignInMethods (#12148)
1 parent f5c2cac commit fcbc6d2

File tree

1 file changed

+4
-5
lines changed
  • FirebaseAuth/Sources/Public/FirebaseAuth

1 file changed

+4
-5
lines changed

FirebaseAuth/Sources/Public/FirebaseAuth/FIRUser.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,10 @@ NS_SWIFT_NAME(User)
261261
Auth section of the Firebase console.
262262
+ `AuthErrorCodeEmailAlreadyInUse` - Indicates the email asserted by the credential
263263
(e.g. the email in a Facebook access token) is already in use by an existing account,
264-
that cannot be authenticated with this method. Call `Auth.fetchSignInMethods(forEmail:)`
265-
for this user’s email and then prompt them to sign in with any of the sign-in providers
266-
returned. This error will only be thrown if the "One account per email address"
267-
setting is enabled in the Firebase console, under Auth settings. Please note that the
268-
error code raised in this specific situation may not be the same on Web and Android.
264+
that cannot be authenticated with this method. This error will only be thrown if the
265+
"One account per email address" setting is enabled in the Firebase console, under Auth
266+
settings. Please note that the error code raised in this specific situation may not be
267+
the same on Web and Android.
269268
+ `AuthErrorCodeUserDisabled` - Indicates the user's account is disabled.
270269
+ `AuthErrorCodeWrongPassword` - Indicates the user attempted reauthentication with
271270
an incorrect password, if credential is of the type `EmailPasswordAuthCredential`.

0 commit comments

Comments
 (0)