diff --git a/assets/vue/components/Login.vue b/assets/vue/components/Login.vue index ed130b2f6d..84b6ec64f4 100644 --- a/assets/vue/components/Login.vue +++ b/assets/vue/components/Login.vue @@ -49,6 +49,7 @@ /> diff --git a/src/CoreBundle/Controller/PlatformConfigurationController.php b/src/CoreBundle/Controller/PlatformConfigurationController.php index fe5d94ebe0..6182d2f916 100644 --- a/src/CoreBundle/Controller/PlatformConfigurationController.php +++ b/src/CoreBundle/Controller/PlatformConfigurationController.php @@ -45,6 +45,9 @@ class PlatformConfigurationController extends AbstractController 'visual_theme' => $this->themeHelper->getVisualTheme(), 'external_authentication' => $this->authenticationConfigHelper->getEnabledProviders(), ]; + + $configuration['settings']['registration.allow_registration'] = $settingsManager->getSetting('registration.allow_registration', true); + $variables = []; if ($this->isGranted('ROLE_USER')) { diff --git a/var/vue_templates/components/SidebarLogin.vue b/var/vue_templates/components/SidebarLogin.vue index b5dae443f5..f8878c0409 100644 --- a/var/vue_templates/components/SidebarLogin.vue +++ b/var/vue_templates/components/SidebarLogin.vue @@ -1,11 +1,12 @@