Skip to content

Commit 73ec85c

Browse files
committed
Merge pull request #3 from janicduplessis/master
Fix Facebook login error
2 parents b1a17df + df34592 commit 73ec85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FacebookUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var provider = {
2525
FB.login((response) => {
2626
if (response.authResponse) {
2727
if (options.success) {
28-
options.success(self, {
28+
options.success(this, {
2929
id: response.authResponse.userID,
3030
access_token: response.authResponse.accessToken,
3131
expiration_date: new Date(response.authResponse.expiresIn * 1000 +

0 commit comments

Comments
 (0)