aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/SecurityController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/SecurityController.php')
-rw-r--r--src/Wallabag/CoreBundle/Controller/SecurityController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/SecurityController.php b/src/Wallabag/CoreBundle/Controller/SecurityController.php
index 51f9cc26..c2901da2 100644
--- a/src/Wallabag/CoreBundle/Controller/SecurityController.php
+++ b/src/Wallabag/CoreBundle/Controller/SecurityController.php
@@ -18,10 +18,11 @@ class SecurityController extends Controller
18 $error = $session->get(SecurityContext::AUTHENTICATION_ERROR); 18 $error = $session->get(SecurityContext::AUTHENTICATION_ERROR);
19 $session->remove(SecurityContext::AUTHENTICATION_ERROR); 19 $session->remove(SecurityContext::AUTHENTICATION_ERROR);
20 } 20 }
21
21 return $this->render('WallabagCoreBundle:Security:login.html.twig', array( 22 return $this->render('WallabagCoreBundle:Security:login.html.twig', array(
22 // last username entered by the user 23 // last username entered by the user
23 'last_username' => $session->get(SecurityContext::LAST_USERNAME), 24 'last_username' => $session->get(SecurityContext::LAST_USERNAME),
24 'error' => $error, 25 'error' => $error,
25 )); 26 ));
26 } 27 }
27} \ No newline at end of file 28}