Skip to content

Commit 6fbd0fc

Browse files
author
Robin Chalas
committed
Merge branch '4.3' into 4.4
* 4.3: [FWBundle] Remove unused parameter [Intl] [Workflow] fixes English grammar typos [Filesystem] [Serializer] fixes English grammar typo [Messenger] Adding exception to amqp transport in case amqp ext is not installed [Monolog Bridge] Fixed accessing static property as non static. Improve Symfony description Add DateTimeZoneNormalizer into Dependency Injection [Messenger] Error when specified default bus is not among the configured [Validator] Add Japanese translation [Workflow] Apply the same logic of precedence between the apply() and the buildTransitionBlockerList() method Remove some unused methods parameters Avoid empty \"If-Modified-Since\" header in validation request [Security] Fix SwitchUser is broken when the User Provider always returns a valid user Fix error message according to the new regex compatibility with DoctrineBundle 2 [Validator] ConstraintValidatorTestCase: add missing return value to mocked validate method calls
2 parents e49361b + 4fb6913 commit 6fbd0fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Firewall/SwitchUserListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ private function attemptSwitchUser(Request $request, string $username): ?TokenIn
148148

149149
try {
150150
$this->provider->loadUserByUsername($nonExistentUsername);
151-
throw new \LogicException('AuthenticationException expected');
152151
} catch (AuthenticationException $e) {
153152
}
154153
} catch (AuthenticationException $e) {

0 commit comments

Comments
 (0)