aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Wallabag/UserBundle/Controller/RegistrationController.php2
-rw-r--r--src/Wallabag/UserBundle/Controller/SecurityController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/UserBundle/Controller/RegistrationController.php b/src/Wallabag/UserBundle/Controller/RegistrationController.php
index d6d0fda1..f81f3a7b 100644
--- a/src/Wallabag/UserBundle/Controller/RegistrationController.php
+++ b/src/Wallabag/UserBundle/Controller/RegistrationController.php
@@ -13,6 +13,6 @@ class RegistrationController extends FOSRegistrationController
13 return parent::registerAction($request); 13 return parent::registerAction($request);
14 } 14 }
15 15
16 return $this->redirectToRoute('fos_user_security_login', array(), 301); 16 return $this->redirectToRoute('fos_user_security_login', [], 301);
17 } 17 }
18} 18}
diff --git a/src/Wallabag/UserBundle/Controller/SecurityController.php b/src/Wallabag/UserBundle/Controller/SecurityController.php
index 1e752b6d..83fa0b20 100644
--- a/src/Wallabag/UserBundle/Controller/SecurityController.php
+++ b/src/Wallabag/UserBundle/Controller/SecurityController.php
@@ -14,7 +14,7 @@ class SecurityController extends FOSSecurityController
14 return $this->render('FOSUserBundle:Security:login.html.twig', 14 return $this->render('FOSUserBundle:Security:login.html.twig',
15 array_merge( 15 array_merge(
16 $data, 16 $data,
17 array('registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled')) 17 ['registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled')]
18 ) 18 )
19 ); 19 );
20 } 20 }