Advertisement
Guest User

Controller

a guest
Mar 29th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. public function loginAction(Request $request) {
  2.        
  3.         $authenticationUtils = $this->get('security.authentication_utils');
  4.         return $this->render('UserBundle:Session:login.html.twig', array(
  5.             'last_username' => $authenticationUtils->getLastUsername(),
  6.             'error'         => $authenticationUtils->getLastAuthenticationError(),
  7.         ));
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement