@@ -40,7 +40,7 @@ function facebookSignInPopup(provider) {
4040 const errorCode = error . code ;
4141 const errorMessage = error . message ;
4242 // The email of the user's account used.
43- const email = error . email ;
43+ const email = error . customData . email ;
4444 // The AuthCredential type that was used.
4545 const credential = FacebookAuthProvider . credentialFromError ( error ) ;
4646
@@ -66,7 +66,7 @@ function facebookSignInRedirectResult() {
6666 const errorCode = error . code ;
6767 const errorMessage = error . message ;
6868 // The email of the user's account used.
69- const email = error . email ;
69+ const email = error . customData . email ;
7070 // AuthCredential type that was used.
7171 const credential = FacebookAuthProvider . credentialFromError ( error ) ;
7272 // ...
@@ -102,7 +102,7 @@ function checkLoginState_wrapper() {
102102 const errorCode = error . code ;
103103 const errorMessage = error . message ;
104104 // The email of the user's account used.
105- const email = error . email ;
105+ const email = error . customData . email ;
106106 // The AuthCredential type that was used.
107107 const credential = FacebookAuthProvider . credentialFromError ( error ) ;
108108 // ...
@@ -156,7 +156,7 @@ function authWithCredential(credential) {
156156 const errorCode = error . code ;
157157 const errorMessage = error . message ;
158158 // The email of the user's account used.
159- const email = error . email ;
159+ const email = error . customData . email ;
160160 // The AuthCredential type that was used.
161161 const credential = FacebookAuthProvider . credentialFromError ( error ) ;
162162 // ...
0 commit comments