mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-17 17:08:37 +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 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',
|
return $this->render('FOSUserBundle:Security:login.html.twig',
|
||||||
array_merge(
|
array_merge(
|
||||||
$data,
|
$data,
|
||||||
array('registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled'))
|
['registration_enabled' => $this->container->getParameter('wallabag_user.registration_enabled')]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue