aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Controller/SecurityController.php
blob: a5f9376345dfc8d2fb64bccaf0053bbcb2854d19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Wallabag\UserBundle\Controller;

use FOS\UserBundle\Controller\SecurityController as FOSSecurityController;

class SecurityController extends FOSSecurityController
{
    protected function renderLogin(array $data)
    {
        return $this->render('FOSUserBundle:Security:login.html.twig',
            array_merge(
                $data,
                array('registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled'))
            )
        );
    }
}