This commit is contained in:
Jeremy
2015-01-31 19:09:34 +01:00
parent 1990517b22
commit 7df80cb32c
47 changed files with 153 additions and 183 deletions

View File

@ -18,10 +18,11 @@ class SecurityController extends Controller
$error = $session->get(SecurityContext::AUTHENTICATION_ERROR);
$session->remove(SecurityContext::AUTHENTICATION_ERROR);
}
return $this->render('WallabagCoreBundle:Security:login.html.twig', array(
// last username entered by the user
'last_username' => $session->get(SecurityContext::LAST_USERNAME),
'error' => $error,
));
}
}
}