mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-17 03:05:19 +00:00
CS
This commit is contained in:
parent
7149aa5781
commit
ee4442f42a
2 changed files with 2 additions and 2 deletions
|
@ -13,6 +13,6 @@ class RegistrationController extends FOSRegistrationController
|
|||
return parent::registerAction($request);
|
||||
}
|
||||
|
||||
return $this->redirectToRoute('fos_user_security_login', array(), 301);
|
||||
return $this->redirectToRoute('fos_user_security_login', [], 301);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ class SecurityController extends FOSSecurityController
|
|||
return $this->render('FOSUserBundle:Security:login.html.twig',
|
||||
array_merge(
|
||||
$data,
|
||||
array('registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled'))
|
||||
['registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled')]
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue