diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2011-06-15 12:35:09 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2011-06-15 12:35:09 +0200 |
commit | 5245b38c2470a78b3c0b69d641572d81eb48a991 (patch) | |
tree | c387393d547502ba65c87fcb0905076ce5dc7d3e /Core | |
parent | 7acdc3514d940bb616296e7a4551a04f26e072c1 (diff) | |
download | symfony-security-5245b38c2470a78b3c0b69d641572d81eb48a991.zip symfony-security-5245b38c2470a78b3c0b69d641572d81eb48a991.tar.gz symfony-security-5245b38c2470a78b3c0b69d641572d81eb48a991.tar.bz2 |
[Security] reverted some changes from previous merge
Diffstat (limited to 'Core')
-rw-r--r-- | Core/Authentication/Provider/UserAuthenticationProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Authentication/Provider/UserAuthenticationProvider.php b/Core/Authentication/Provider/UserAuthenticationProvider.php index 41ab65b..8183c62 100644 --- a/Core/Authentication/Provider/UserAuthenticationProvider.php +++ b/Core/Authentication/Provider/UserAuthenticationProvider.php @@ -80,7 +80,7 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter return $authenticatedToken; } catch (UsernameNotFoundException $notFound) { if ($this->hideUserNotFoundExceptions) { - throw new BadCredentialsException(sprintf('Bad credentials for user "%s"', $username), 0, $notFound); + throw new BadCredentialsException('Bad credentials', 0, $notFound); } throw $notFound; |