forked from potsda.mn/mobilizon
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:
parent
09f41328ab
commit
28063bd1d9
|
@ -49,7 +49,7 @@ config :mobilizon, Mobilizon.Web.Email.Mailer,
|
||||||
port: System.get_env("MOBILIZON_SMTP_PORT", "25"),
|
port: System.get_env("MOBILIZON_SMTP_PORT", "25"),
|
||||||
username: System.get_env("MOBILIZON_SMTP_USERNAME", nil),
|
username: System.get_env("MOBILIZON_SMTP_USERNAME", nil),
|
||||||
password: System.get_env("MOBILIZON_SMTP_PASSWORD", 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"],
|
allowed_tls_versions: [:"tlsv1.2", :"tlsv1.3"],
|
||||||
tls_options: [
|
tls_options: [
|
||||||
verify: :verify_peer,
|
verify: :verify_peer,
|
||||||
|
|
Loading…
Reference in a new issue