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 7bcf788 commit 45626b2Copy full SHA for 45626b2
Authentication/Provider/PreAuthenticatedAuthenticationProvider.php
@@ -59,11 +59,7 @@ public function authenticate(TokenInterface $token)
59
if (!$user = $token->getUser()) {
60
throw new BadCredentialsException('No pre-authenticated principal found in request.');
61
}
62
-/*
63
- if (null === $token->getCredentials()) {
64
- throw new BadCredentialsException('No pre-authenticated credentials found in request.');
65
- }
66
-*/
+
67
$user = $this->userProvider->loadUserByUsername($user);
68
69
$this->userChecker->checkPostAuth($user);
0 commit comments