translation of error message

refs #3455 and refs #333
[ci skip]
This commit is contained in:
2014-11-19 13:39:46 +01:00
parent 68a3ed70f1
commit b43ee26c81
2 changed files with 7 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ class LoginController extends Controller
return $this->render('ChillMainBundle:Login:login.html.twig', array(
'last_username' => $lastUsername,
'error' => $error
'error' => (empty($error)) ? $error : $error->getMessage()
));
}