Skip to content

Commit

Permalink
fb email
Browse files Browse the repository at this point in the history
  • Loading branch information
anerg2046 committed Apr 30, 2019
1 parent 5ab236d commit 9c4b4db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gateways/Facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public function userinfo()
'nick' => $rsp['name'],
'gender' => $this->getGender($rsp), //不一定会返回
'avatar' => $this->getAvatar($rsp),
'email' => isset($rsp['email']) ? $rsp['email'] : '',
];
return $userinfo;
}
Expand Down

0 comments on commit 9c4b4db

Please sign in to comment.