From d45bcae4002d96a923f7800299f275c2e1728ff2 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 3 Aug 2021 18:08:17 +0200 Subject: [PATCH] Add missing settings using ENV parameters in dev.exs Signed-off-by: Thomas Citharel --- config/dev.exs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/dev.exs b/config/dev.exs index eaa1eff7d..660e6dd58 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -9,6 +9,7 @@ config :mobilizon, Mobilizon.Web.Endpoint, port: String.to_integer(System.get_env("MOBILIZON_INSTANCE_HOST_PORT", "80")), scheme: "http" ], + secret_key_base: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY_BASE", "changethis"), debug_errors: true, code_reloader: true, check_origin: false, @@ -84,6 +85,9 @@ config :mobilizon, :instance, registrations_open: System.get_env("MOBILIZON_INSTANCE_REGISTRATIONS_OPEN") == "true", groups: true +config :mobilizon, Mobilizon.Web.Auth.Guardian, + secret_key: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY", "changethis") + # config :mobilizon, :activitypub, sign_object_fetches: false config :mobilizon, Mobilizon.Web.Upload.Uploader.Local, uploads: "uploads"