From af6ed8a3c2c87b2668859fc4854615b9e43ee335 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 30 Oct 2020 15:14:26 +0100 Subject: [PATCH] Make sure only "true" value is accepted to enable registrations Signed-off-by: Thomas Citharel --- docker/production/releases.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/production/releases.exs b/docker/production/releases.exs index 412132672..72d84ca4e 100644 --- a/docker/production/releases.exs +++ b/docker/production/releases.exs @@ -15,7 +15,7 @@ config :mobilizon, :instance, name: System.get_env("MOBILIZON_INSTANCE_NAME", "Mobilizon"), description: "Change this to a proper description of your instance", hostname: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.lan"), - registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN", "false"), + registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN", "false") == "true", demo: false, allow_relay: true, federating: true,