aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-07-24 12:14:52 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-08-23 07:40:36 +0200
commitee4442f42a36d2cfd7add334983a8e126718a788 (patch)
treefc762ff7ee49b0856e592adefe4095e4179e096c /src/Wallabag
parent7149aa57814a9d6151f4fe049126e3cb5d86a254 (diff)
downloadwallabag-ee4442f42a36d2cfd7add334983a8e126718a788.tar.gz
wallabag-ee4442f42a36d2cfd7add334983a8e126718a788.tar.zst
wallabag-ee4442f42a36d2cfd7add334983a8e126718a788.zip
CS
Diffstat (limited to 'src/Wallabag')
-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 }