Skip to content

Commit

Permalink
Merge pull request #2 from fightmaster/Provider-error
Browse files Browse the repository at this point in the history
Thanks for your contribution fightmaster!
  • Loading branch information
djoos committed Dec 27, 2011
2 parents 73df734 + c18c6f1 commit ad54ba9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Security/Authentication/Provider/Provider.php
Expand Up @@ -31,6 +31,7 @@ public function authenticate(TokenInterface $token)
{
$authenticatedToken = new Token($user->getRoles());
$authenticatedToken->setUser($user);
$authenticatedToken->setAuthenticated(true);

return $authenticatedToken;
}
Expand Down Expand Up @@ -63,4 +64,4 @@ public function supports(TokenInterface $token)
{
return $token instanceof Token;
}
}
}

0 comments on commit ad54ba9

Please sign in to comment.