Skip to content

Commit a5a5668

Browse files
committed
Fix error in namespace when use TokenInterface
Change the use statement of TokenInterface to the correct namespace (missing Token folder)
1 parent f08e2a5 commit a5a5668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/custom_password_authenticator.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ the user::
2525

2626
use Symfony\Component\HttpFoundation\Request;
2727
use Symfony\Component\Security\Core\Authentication\SimpleFormAuthenticatorInterface;
28-
use Symfony\Component\Security\Core\Authentication\TokenInterface;
28+
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
2929
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
3030
use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
3131
use Symfony\Component\Security\Core\Exception\AuthenticationException;

0 commit comments

Comments
 (0)