From ff9581d23d0fd8136fef21728fee86a53851e955 Mon Sep 17 00:00:00 2001 From: Roy Van Ginneken Date: Wed, 16 Dec 2015 14:00:52 +0100 Subject: [PATCH] Update guard-authentication.rst Later on there is a findoneby 'apiToken', so we need to fix it here or there. --- cookbook/security/guard-authentication.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/security/guard-authentication.rst b/cookbook/security/guard-authentication.rst index a19afaf7948..70ca349b946 100644 --- a/cookbook/security/guard-authentication.rst +++ b/cookbook/security/guard-authentication.rst @@ -46,7 +46,7 @@ property they use to access their account via the API:: /** * @ORM\Column(type"string", unique=true) */ - private $apiKey; + private $apiToken; public function getUsername() {