diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php b/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php index 9e95eb47..5614d8b2 100644 --- a/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php +++ b/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | |||
@@ -39,7 +39,7 @@ class ForgotPasswordType extends AbstractType | |||
39 | public function validateEmail($email, ExecutionContextInterface $context) | 39 | public function validateEmail($email, ExecutionContextInterface $context) |
40 | { | 40 | { |
41 | $user = $this->doctrine | 41 | $user = $this->doctrine |
42 | ->getRepository('WallabagCoreBundle:User') | 42 | ->getRepository('WallabagUserBundle:User') |
43 | ->findOneByEmail($email); | 43 | ->findOneByEmail($email); |
44 | 44 | ||
45 | if (!$user) { | 45 | if (!$user) { |