@@ -40,7 +40,7 @@ function facebookSignInPopup(provider) {
40
40
const errorCode = error . code ;
41
41
const errorMessage = error . message ;
42
42
// The email of the user's account used.
43
- const email = error . email ;
43
+ const email = error . customData . email ;
44
44
// The AuthCredential type that was used.
45
45
const credential = FacebookAuthProvider . credentialFromError ( error ) ;
46
46
@@ -66,7 +66,7 @@ function facebookSignInRedirectResult() {
66
66
const errorCode = error . code ;
67
67
const errorMessage = error . message ;
68
68
// The email of the user's account used.
69
- const email = error . email ;
69
+ const email = error . customData . email ;
70
70
// AuthCredential type that was used.
71
71
const credential = FacebookAuthProvider . credentialFromError ( error ) ;
72
72
// ...
@@ -102,7 +102,7 @@ function checkLoginState_wrapper() {
102
102
const errorCode = error . code ;
103
103
const errorMessage = error . message ;
104
104
// The email of the user's account used.
105
- const email = error . email ;
105
+ const email = error . customData . email ;
106
106
// The AuthCredential type that was used.
107
107
const credential = FacebookAuthProvider . credentialFromError ( error ) ;
108
108
// ...
@@ -156,7 +156,7 @@ function authWithCredential(credential) {
156
156
const errorCode = error . code ;
157
157
const errorMessage = error . message ;
158
158
// The email of the user's account used.
159
- const email = error . email ;
159
+ const email = error . customData . email ;
160
160
// The AuthCredential type that was used.
161
161
const credential = FacebookAuthProvider . credentialFromError ( error ) ;
162
162
// ...
0 commit comments