forked from wallabag/wallabag
Use fosuser_registration directly instead of wallabag_user.registration_enabled
This commit is contained in:
@ -39,7 +39,7 @@ class WallabagRestController extends AbstractFOSRestController
|
||||
$info = [
|
||||
'appname' => 'wallabag',
|
||||
'version' => $this->container->getParameter('wallabag_core.version'),
|
||||
'allowed_registration' => $this->container->getParameter('wallabag_user.registration_enabled'),
|
||||
'allowed_registration' => $this->container->getParameter('fosuser_registration'),
|
||||
];
|
||||
|
||||
return (new JsonResponse())->setJson($this->get('jms_serializer')->serialize($info, 'json'));
|
||||
|
||||
Reference in New Issue
Block a user