]>
Commit | Line | Data |
---|---|---|
de3d716a TC |
1 | <?php |
2 | ||
3 | namespace Wallabag\UserBundle\Controller; | |
4 | ||
5 | use FOS\UserBundle\Controller\SecurityController as FOSSecurityController; | |
6 | ||
7 | class SecurityController extends FOSSecurityController | |
8 | { | |
9 | protected function renderLogin(array $data) | |
10 | { | |
11 | return $this->render('FOSUserBundle:Security:login.html.twig', | |
12 | array_merge( | |
13 | $data, | |
14 | array('registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled')) | |
15 | ) | |
16 | ); | |
17 | } | |
18 | } |