Skip to content

Commit 99ba995

Browse files
authored
removed usage of deprecated methods (#1923)
1 parent 1d96622 commit 99ba995

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/auth/src/auth.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,7 +1963,7 @@ fireauth.Auth.prototype.signInWithPhoneNumber =
19631963
phoneNumber,
19641964
appVerifier,
19651965
// This will wait for redirectStateIsReady to resolve first.
1966-
goog.bind(this.signInAndRetrieveDataWithCredential, this))));
1966+
goog.bind(this.signInWithCredential, this))));
19671967
};
19681968

19691969

@@ -1982,6 +1982,6 @@ fireauth.Auth.prototype.signInWithEmailLink = function(email, opt_link) {
19821982
goog.Promise.resolve().then(function() {
19831983
var credential = fireauth.EmailAuthProvider.credentialWithLink(
19841984
email, opt_link || fireauth.util.getCurrentUrl());
1985-
return self.signInAndRetrieveDataWithCredential(credential);
1985+
return self.signInWithCredential(credential);
19861986
}));
19871987
};

0 commit comments

Comments
 (0)