summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Provider
diff options
context:
space:
mode:
authorkaiwa <info@kawax.org>2011-05-27 11:33:49 +0200
committerKai <kai@kawax.org>2011-05-27 20:29:51 +0200
commit6c6257c28442a7b4ee1fa00a6955ec394e6460a4 (patch)
tree82bc6aed4f96b738d84e7efb24668c926209a997 /Core/Authentication/Provider
parent6b3a0ace240ef45f1a74792ca289d98241e4778f (diff)
downloadsymfony-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.php2
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;