Skip to content

Commit

Permalink
Fixed small typo in code example
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvdvleuten committed Jan 27, 2014
1 parent fb22fa0 commit 064c740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/security/api_key_authentication.rst
Expand Up @@ -59,7 +59,7 @@ value and then a User object is created::
public function authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey)
{
$apiKey = $token->getCredentials();
$username = $this->userProvider->getUsernameForApiKey($apiKey)
$username = $this->userProvider->getUsernameForApiKey($apiKey);

if (!$username) {
throw new AuthenticationException(
Expand Down

0 comments on commit 064c740

Please sign in to comment.