Skip to content

Commit 4101d9b

Browse files
author
Adam
committed
Update custom_password_authenticator.rst
Fixed TokenInterface use statement causing compile errors
1 parent b028282 commit 4101d9b

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)