Skip to content

Commit

Permalink
Fixing minor comments
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Nov 22, 2015
1 parent 9e411fe commit bfce91b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbook/security/guard-api-key.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ that to authenticate the user. To do this, create a class that extends
return;
}

return [
return array(
'token' => $token,
];
);
}

public function authenticate($credentials, UserProviderInterface $userProvider)
Expand Down Expand Up @@ -241,7 +241,7 @@ and your new ``app.token_authenticator`` authenticator:
'pattern' => '^/',
'stateless' => true,
'anonymous' => true,
'simple_preauth' => array(
'guard' => array(
'authenticators' => array(
'app.token_authenticator'
),
Expand Down

0 comments on commit bfce91b

Please sign in to comment.