diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2010-12-18 08:15:13 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2010-12-18 08:15:13 +0100 |
commit | 5853e1f130f888bfe2e5e5830ed930218cfe693b (patch) | |
tree | cfad791f86c52c6ac8fc0bc384e081e387a6e36b /Authentication/Provider/UserAuthenticationProvider.php | |
parent | 31f146e12fa9b03f083d1f31b1eca0f0dd9c5b3d (diff) | |
download | symfony-security-5853e1f130f888bfe2e5e5830ed930218cfe693b.zip symfony-security-5853e1f130f888bfe2e5e5830ed930218cfe693b.tar.gz symfony-security-5853e1f130f888bfe2e5e5830ed930218cfe693b.tar.bz2 |
renamed reloadUserByAccount() to loadUserByAccount()
Diffstat (limited to 'Authentication/Provider/UserAuthenticationProvider.php')
-rw-r--r-- | Authentication/Provider/UserAuthenticationProvider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Authentication/Provider/UserAuthenticationProvider.php b/Authentication/Provider/UserAuthenticationProvider.php index b5e2dbb..0ded6f7 100644 --- a/Authentication/Provider/UserAuthenticationProvider.php +++ b/Authentication/Provider/UserAuthenticationProvider.php @@ -59,11 +59,11 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter if (!$user instanceof AccountInterface) { throw new AuthenticationServiceException('retrieveUser() must return an AccountInterface.'); } - + $this->accountChecker->checkPreAuth($user); $this->checkAuthentication($user, $token); $this->accountChecker->checkPostAuth($user); - + return new UsernamePasswordToken($user, $token->getCredentials(), $user->getRoles()); } catch (UsernameNotFoundException $notFound) { if ($this->hideUserNotFoundExceptions) { |