Get config and display/hide register button

This commit is contained in:
Chocobozzz
2019-03-22 13:58:19 +01:00
parent e864b38ec6
commit 4fa78d7cd2
9 changed files with 48 additions and 48 deletions

View File

@@ -12,7 +12,7 @@ config :mobilizon,
config :mobilizon, :instance,
name: System.get_env("MOBILIZON_INSTANCE_NAME") || "Localhost",
version: "1.0.0-dev",
registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN") || true
registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN") || false
config :mime, :types, %{
"application/activity+json" => ["activity-json"],