We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6cd8b commit 7da82f8Copy full SHA for 7da82f8
security/custom_authenticator.rst
@@ -239,7 +239,7 @@ using :ref:`the user provider <security-user-providers>`::
239
// ...
240
241
return new Passport(
242
- new UserBadge($email, function (string $userIdentifier): ?User {
+ new UserBadge($email, function (string $userIdentifier): ?UserInterface {
243
return $this->userRepository->findOneBy(['email' => $userIdentifier]);
244
}),
245
$credentials
0 commit comments