Skip to content

Commit

Permalink
Merge pull request formapro#7 from nurikabe/master
Browse files Browse the repository at this point in the history
Documentation tweak.
  • Loading branch information
makasim committed Oct 30, 2011
2 parents 7f6b484 + fea9f55 commit 4f3ab8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Supports these 3rd party libraries:
$user = $this->get('user.repository')->findBy(array('email' => $token->getAttribute('contact/email')));

// IMPORTANT: It is required to set a user to token (UserInterface)
$newToken = new OpenIdToken($token->getOpenIdentifier(), $user->getRoles());
$newToken = new OpenIdToken($token->getIdentifier(), $user->getRoles());
$newToken->setUser($user);

$tokenPersister->set($newToken);
Expand Down

0 comments on commit 4f3ab8f

Please sign in to comment.