From 075b64026492c80bdaa1fd2aad35b158a07318f9 Mon Sep 17 00:00:00 2001 From: Warnar Boekkooi Date: Wed, 29 Oct 2014 16:50:48 +0800 Subject: [PATCH] Removed unused use UsernameNotFoundException --- cookbook/security/api_key_authentication.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/cookbook/security/api_key_authentication.rst b/cookbook/security/api_key_authentication.rst index 0feefca9a4b..8fb6dfbdb38 100644 --- a/cookbook/security/api_key_authentication.rst +++ b/cookbook/security/api_key_authentication.rst @@ -31,7 +31,6 @@ value and then a User object is created:: use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\User\UserProviderInterface; - use Symfony\Component\Security\Core\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\Exception\BadCredentialsException; class ApiKeyAuthenticator implements SimplePreAuthenticatorInterface