aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-10-02 14:51:41 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-10-03 13:31:48 +0200
commit1210dae10589515d6f3824c75639342c5e1d52dd (patch)
treea26f0401a6f980f3ef96d3dc76ff3303b2943720 /src/Wallabag/CoreBundle/Form
parent772d8c4b93adc36baefda93ec37007e4a85321de (diff)
downloadwallabag-1210dae10589515d6f3824c75639342c5e1d52dd.tar.gz
wallabag-1210dae10589515d6f3824c75639342c5e1d52dd.tar.zst
wallabag-1210dae10589515d6f3824c75639342c5e1d52dd.zip
remove old implementation for login/register/recover
Diffstat (limited to 'src/Wallabag/CoreBundle/Form')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php2
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/NewUserType.php2
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/UserInformationType.php2
3 files changed, 3 insertions, 3 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) {
diff --git a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php
index ea7bb7ae..8aabc8bb 100644
--- a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php
@@ -31,7 +31,7 @@ class NewUserType extends AbstractType
31 public function configureOptions(OptionsResolver $resolver) 31 public function configureOptions(OptionsResolver $resolver)
32 { 32 {
33 $resolver->setDefaults(array( 33 $resolver->setDefaults(array(
34 'data_class' => 'Wallabag\CoreBundle\Entity\User', 34 'data_class' => 'Wallabag\UserBundle\Entity\User',
35 )); 35 ));
36 } 36 }
37 37
diff --git a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
index e3196d9c..84f02013 100644
--- a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
@@ -27,7 +27,7 @@ class UserInformationType extends AbstractType
27 public function configureOptions(OptionsResolver $resolver) 27 public function configureOptions(OptionsResolver $resolver)
28 { 28 {
29 $resolver->setDefaults(array( 29 $resolver->setDefaults(array(
30 'data_class' => 'Wallabag\CoreBundle\Entity\User', 30 'data_class' => 'Wallabag\UserBundle\Entity\User',
31 )); 31 ));
32 } 32 }
33 33