Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 083e156

Browse files
author
Raphael Jenni
committed
Fixed wrong method name in iOS
1 parent b41d854 commit 083e156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ firebase.login = function (arg) {
931931
if (!arg.email || !arg.password) {
932932
reject("Auth type emailandpassword requires an email and password argument");
933933
} else {
934-
var fIRAuthCredential = FIREmailPasswordAuthProvider.credential(arg.email, arg.password)
934+
var fIRAuthCredential = FIREmailPasswordAuthProvider.credentialWithEmailPassword(arg.email, arg.password)
935935
if (fAuth.currentUser) {
936936
// link credential, note that you only want to do this if this user doesn't already use fb as an auth provider
937937
var onCompletionLink = function (user, error) {

0 commit comments

Comments
 (0)