diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-01-31 19:09:34 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-01-31 19:12:49 +0100 |
commit | 7df80cb32ca9b7d0fe452320ddc3563a1e373e2f (patch) | |
tree | c07eb79213d471aa33c49ef4e5819e41cc12f242 /src/Wallabag/CoreBundle/Controller/SecurityController.php | |
parent | 1990517b2263a080946853ed697a6d687262ae80 (diff) | |
download | wallabag-7df80cb32ca9b7d0fe452320ddc3563a1e373e2f.tar.gz wallabag-7df80cb32ca9b7d0fe452320ddc3563a1e373e2f.tar.zst wallabag-7df80cb32ca9b7d0fe452320ddc3563a1e373e2f.zip |
CS
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/SecurityController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/SecurityController.php | 3 |
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 | } |