diff --git a/assets/vue/components/Login.vue b/assets/vue/components/Login.vue index ed130b2f6db..84b6ec64f45 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 fe5d94ebe07..6182d2f9169 100644 --- a/src/CoreBundle/Controller/PlatformConfigurationController.php +++ b/src/CoreBundle/Controller/PlatformConfigurationController.php @@ -45,6 +45,9 @@ public function list(SettingsManager $settingsManager): Response '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 b5dae443f54..f8878c04098 100644 --- a/var/vue_templates/components/SidebarLogin.vue +++ b/var/vue_templates/components/SidebarLogin.vue @@ -1,11 +1,12 @@