diff --git a/config.prod/src/.env b/config.prod/src/.env --- a/config.prod/src/.env +++ b/config.prod/src/.env @@ -25,6 +25,7 @@ SIGNUP_LIMIT_EMAIL=0 SIGNUP_LIMIT_IP=0 +SIGNUP_ENABLE=false ASSET_URL=https://{{ host }} diff --git a/src/app/Utils.php b/src/app/Utils.php --- a/src/app/Utils.php +++ b/src/app/Utils.php @@ -506,6 +506,7 @@ 'app.support_email', 'app.company.copyright', 'app.companion_download_link', + 'app.signup.enable', 'mail.from.address' ]; diff --git a/src/config/app.php b/src/config/app.php --- a/src/config/app.php +++ b/src/config/app.php @@ -268,6 +268,7 @@ 'with_wallet' => (bool) env('APP_WITH_WALLET', true), 'signup' => [ + 'enable' => env('SIGNUP_ENABLE', true), 'email_limit' => (int) env('SIGNUP_LIMIT_EMAIL', 0), 'ip_limit' => (int) env('SIGNUP_LIMIT_IP', 0), ], diff --git a/src/resources/vue/Widgets/Menu.vue b/src/resources/vue/Widgets/Menu.vue --- a/src/resources/vue/Widgets/Menu.vue +++ b/src/resources/vue/Widgets/Menu.vue @@ -21,7 +21,7 @@ {{ menuItemTitle(item) }} -