aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r--src/Wallabag/CoreBundle/Controller/SecurityController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/SecurityController.php b/src/Wallabag/CoreBundle/Controller/SecurityController.php
index 5007307a..fe511db5 100644
--- a/src/Wallabag/CoreBundle/Controller/SecurityController.php
+++ b/src/Wallabag/CoreBundle/Controller/SecurityController.php
@@ -103,7 +103,7 @@ class SecurityController extends Controller
103 $user = $this->getDoctrine()->getRepository('WallabagCoreBundle:User')->findOneByConfirmationToken($token); 103 $user = $this->getDoctrine()->getRepository('WallabagCoreBundle:User')->findOneByConfirmationToken($token);
104 104
105 if (null === $user) { 105 if (null === $user) {
106 $this->createNotFoundException(sprintf('No user found with token "%s"', $token)); 106 throw $this->createNotFoundException(sprintf('No user found with token "%s"', $token));
107 } 107 }
108 108
109 $form = $this->createForm(new ResetPasswordType()); 109 $form = $this->createForm(new ResetPasswordType());