Skip to content

Commit

Permalink
Merge pull request #63 from JJK801/improvement
Browse files Browse the repository at this point in the history
Improve JWTProvider
  • Loading branch information
slashfan committed Apr 20, 2015
2 parents c2503a0 + cee223d commit eff5755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Security/Authentication/Provider/JWTProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function authenticate(TokenInterface $token)

$authToken = new JWTUserToken($user->getRoles());
$authToken->setUser($user);
$authToken->setRawToken($token->getCredentials());

return $authToken;
}
Expand Down

0 comments on commit eff5755

Please sign in to comment.