Skip to content

Commit

Permalink
Fix facebook oauth bug
Browse files Browse the repository at this point in the history
Now facebook returns proper expires_in name.
This method provided bug.
  • Loading branch information
vismutx authored Apr 3, 2017
1 parent f45efd9 commit 4522f6f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/services/FacebookOAuth2Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,7 @@ protected function fetchAttributes()

return true;
}

/**
* @return array
*/
public function getAccessTokenArgumentNames()
{
$names = parent::getAccessTokenArgumentNames();
$names['expires_in'] = 'expires';
return $names;
}


/**
* @param string $response
* @return array
Expand Down

0 comments on commit 4522f6f

Please sign in to comment.