Skip to content

Commit

Permalink
Merge pull request #56 from jhaoda/master
Browse files Browse the repository at this point in the history
Bring back token, refreshToken and expiresIn properties to user object
  • Loading branch information
DraperStudio authored Jun 22, 2016
2 parents 72d4ea8 + 0057545 commit 388851f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OAuth2/AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function user()
$this->credentialsResponseBody = $response;

if ($user instanceof User) {
return $user->setAccessTokenResponseBody($this->credentialsResponseBody);
$user->setAccessTokenResponseBody($this->credentialsResponseBody);
}

return $user->setToken($token)
Expand Down

0 comments on commit 388851f

Please sign in to comment.