From fd156007b60f968a176cf47dd1001ecee65e5db8 Mon Sep 17 00:00:00 2001 From: Marek Rusinowski Date: Tue, 28 May 2024 23:07:20 +0200 Subject: [PATCH] Fix lookup for email integration enablement env var Because of wrong list of arguments to function, it was impossible to disable email integration. --- config/runtime.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index caf47bfcc..cc8596331 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -105,7 +105,7 @@ if config_env() == :prod do issuer: Teiserver.ConfigHelpers.get_env("TEI_GUARDIAN_ISSUER", "teiserver"), secret_key: Teiserver.ConfigHelpers.get_env("TEI_GUARDIAN_SECRET_KEY") - if Teiserver.ConfigHelpers.get_env("TEI_ENABLE_EMAIL_INTEGRATION", :bool) do + if Teiserver.ConfigHelpers.get_env("TEI_ENABLE_EMAIL_INTEGRATION", true, :bool) do config :teiserver, Teiserver.Mailer, adapter: Bamboo.SMTPAdapter, contact_address: