fix(docker): fix getting configuration value from env MOBILIZON_SMTP_TLS

Closes #1381

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-12-06 16:05:33 +01:00
parent 09f41328ab
commit 28063bd1d9
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
port: System.get_env("MOBILIZON_SMTP_PORT", "25"),
username: System.get_env("MOBILIZON_SMTP_USERNAME", nil),
password: System.get_env("MOBILIZON_SMTP_PASSWORD", nil),
tls: System.get_env("MOBILIZON_SMTP_TLS", :if_available),
tls: System.get_env("MOBILIZON_SMTP_TLS", "if_available"),
allowed_tls_versions: [:"tlsv1.2", :"tlsv1.3"],
tls_options: [
verify: :verify_peer,