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.
2 parents 250f9c2 + f72042d commit b3b7da5Copy full SHA for b3b7da5
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 ($userIdentifier) {
+ new UserBadge($email, function (string $userIdentifier) {
243
return $this->userRepository->findOneBy(['email' => $userIdentifier]);
244
}),
245
$credentials
0 commit comments