diff options
author | kaiwa <info@kawax.org> | 2011-05-27 11:33:49 +0200 |
---|---|---|
committer | Kai <kai@kawax.org> | 2011-05-27 20:29:51 +0200 |
commit | 6c6257c28442a7b4ee1fa00a6955ec394e6460a4 (patch) | |
tree | 82bc6aed4f96b738d84e7efb24668c926209a997 /Core/Authentication/Provider | |
parent | 6b3a0ace240ef45f1a74792ca289d98241e4778f (diff) | |
download | symfony-security-6c6257c28442a7b4ee1fa00a6955ec394e6460a4.zip symfony-security-6c6257c28442a7b4ee1fa00a6955ec394e6460a4.tar.gz symfony-security-6c6257c28442a7b4ee1fa00a6955ec394e6460a4.tar.bz2 |
Checked log levels
Diffstat (limited to 'Core/Authentication/Provider')
-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 8183c62..41ab65b 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('Bad credentials', 0, $notFound); + throw new BadCredentialsException(sprintf('Bad credentials for user "%s"', $username), 0, $notFound); } throw $notFound; |