We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea4510 commit 0abaf63Copy full SHA for 0abaf63
src/FacebookUtils.js
@@ -47,11 +47,6 @@ const provider = {
47
(expiration.getTime() - new Date().getTime()) / 1000 :
48
0;
49
50
- const authResponse = {
51
- userID: authData.id,
52
- accessToken: authData.access_token,
53
- expiresIn: expiresIn
54
- };
55
const newOptions = {};
56
if (initOptions) {
57
for (const key in initOptions) {
@@ -67,7 +62,7 @@ const provider = {
67
62
// from a Parse User that logged in with username/password.
68
63
const existingResponse = FB.getAuthResponse();
69
64
if (existingResponse &&
70
- existingResponse.userID !== authResponse.userID) {
65
+ existingResponse.userID !== authData.id) {
71
66
FB.logout();
72
}
73
0 commit comments